We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fb9ce8 commit abebdb8Copy full SHA for abebdb8
numpydoc/tests/hooks/test_validate_hook.py
@@ -13,6 +13,10 @@
13
14
@pytest.fixture
15
def example_module(request):
16
+ # TODO: When Python3.13 is the minimum version supported version, this
17
+ # can be simplified to:
18
+ # with importlib.resources.path(numpydoc, "tests/hooks/example_module.py") as fpath:
19
+ # fullpath = str(fpath)
20
with importlib.resources.path(numpydoc, "tests") as fpath:
21
fullpath = str(fpath / "hooks/example_module.py")
22
return str(fullpath)
0 commit comments