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 744dedb commit b56da8dCopy full SHA for b56da8d
1 file changed
test/conftest.py
@@ -16,9 +16,9 @@ def add_cwd_to_syspath():
16
"""Ensure the current working directory is in sys.path.
17
18
CFFI and ffcx.main compile/generate files into CWD by default. Without
19
- this, importlib.import_module cannot find those files when pytest is invoked
20
- from a directory that is not already on sys.path (e.g. the project root
21
- rather than the test/ subdirectory).
+ this, importlib.import_module cannot find those files when ``pytest``
+ is invoked from a directory that is not already on sys.path
+ (e.g. the project root rather than the test/ subdirectory).
22
"""
23
cwd = os.getcwd()
24
if cwd not in sys.path:
0 commit comments