Skip to content

Commit c70c169

Browse files
committed
WIP,TST: Try fixing remaining test case.
1 parent c797926 commit c70c169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpydoc/tests/hooks/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def test_find_project_root(tmp_path, request, reason_file, files, expected_reaso
3030
for file in files:
3131
(tmp_path / file).touch()
3232
else:
33-
expected_dir = request.config.rootdir
33+
expected_dir = Path.cwd()
3434

3535
root_dir, reason = utils.find_project_root(files if not files else [tmp_path])
3636
assert reason == expected_reason

0 commit comments

Comments
 (0)