Merge pull request #2527 from chrisRedwine/remove-extraneous-raw-string-literal

remove extraneous raw string literal in test
This commit is contained in:
Anthony Sottile 2022-09-26 18:59:37 -04:00 committed by GitHub
commit 3610087fab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -321,7 +321,7 @@ def test_validate_optional_sensible_regex_at_hook(caplog, regex, warning):
def test_validate_optional_sensible_regex_at_local_hook(caplog):
config_obj = sample_local_config()
config_obj['hooks'][0]['files'] = r'dir/*.py'
config_obj['hooks'][0]['files'] = 'dir/*.py'
cfgv.validate(config_obj, CONFIG_REPO_DICT)