Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions numpydoc/tests/hooks/test_validate_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def test_validate_hook_exclude_option_setup_cfg(example_module, tmp_path, capsys

@pytest.mark.parametrize(
"regex, expected_code",
[(".*(/|\\\\)example.*\.py", 0), (".*/non_existent_match.*\.py", 1)],
[(r".*(/|\\\\)example.*\.py", 0), (r".*/non_existent_match.*\.py", 1)],
)
def test_validate_hook_exclude_files_option_pyproject(
example_module, regex, expected_code, tmp_path
Expand Down Expand Up @@ -287,7 +287,7 @@ def test_validate_hook_exclude_files_option_pyproject(

@pytest.mark.parametrize(
"regex, expected_code",
[(".*(/|\\\\)example.*\.py", 0), (".*/non_existent_match.*\.py", 1)],
[(r".*(/|\\\\)example.*\.py", 0), (r".*/non_existent_match.*\.py", 1)],
)
def test_validate_hook_exclude_files_option_setup_cfg(
example_module, regex, expected_code, tmp_path
Expand Down
Loading