Skip to content

Commit d986798

Browse files
committed
WIP: regex munging - revert #655.
1 parent 0f38d76 commit d986798

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpydoc/tests/hooks/test_validate_hook.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def test_validate_hook_exclude_option_setup_cfg(example_module, tmp_path, capsys
251251

252252
@pytest.mark.parametrize(
253253
"regex, expected_code",
254-
[(r".*(/|\\\\)example.*\.py", 0), (r".*/non_existent_match.*\.py", 1)],
254+
[(".*(/|\\\\)example.*\.py", 0), (".*/non_existent_match.*\.py", 1)],
255255
)
256256
def test_validate_hook_exclude_files_option_pyproject(
257257
example_module, regex, expected_code, tmp_path
@@ -288,7 +288,7 @@ def test_validate_hook_exclude_files_option_pyproject(
288288

289289
@pytest.mark.parametrize(
290290
"regex, expected_code",
291-
[(r".*(/|\\\\)example.*\.py", 0), (r".*/non_existent_match.*\.py", 1)],
291+
[(".*(/|\\\\)example.*\.py", 0), (".*/non_existent_match.*\.py", 1)],
292292
)
293293
def test_validate_hook_exclude_files_option_setup_cfg(
294294
example_module, regex, expected_code, tmp_path

0 commit comments

Comments
 (0)