Skip to content

Commit 157aac6

Browse files
committed
WIP: regex modification attempt number 4.
1 parent c41ec58 commit 157aac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpydoc/tests/hooks/test_validate_hook.py

Lines changed: 1 addition & 1 deletion
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), (r".*/non_existent_match.*\.py", 1)],
255255
)
256256
def test_validate_hook_exclude_files_option_pyproject(
257257
example_module, regex, expected_code, tmp_path

0 commit comments

Comments
 (0)