Skip to content

Commit f4658ac

Browse files
committed
refactor(test_validate_hook.py): Change string type
1 parent 8fc7b83 commit f4658ac

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
@@ -141,7 +141,7 @@ def test_validate_hook_with_toml_config(example_module, tmp_path, capsys):
141141

142142
@pytest.mark.parametrize(
143143
"regex, expected_code",
144-
[(".*/example.*\.py", 0), (".*/non_existent_match.*\.py", 1)],
144+
[(""".*/example.*\.py""", 0), (""".*/non_existent_match.*\.py""", 1)],
145145
)
146146
def test_validate_hook_with_toml_config_exclude_files(
147147
example_module, regex, expected_code, tmp_path, capsys

0 commit comments

Comments
 (0)