Debian Codegraph @

doc/example/conftest.py

raw symbols SCIP
1 import pathlib
2 import sys
3
4
5 # Make execnet and example code importable.
6 cand = pathlib.Path(__file__).parent.parent.parent
7 if cand.joinpath("execnet", "__init__.py").exists():
8 if str(cand) not in sys.path:
9 sys.path.insert(0, str(cand))
10 cand = pathlib.Path(__file__).parent
11 if str(cand) not in sys.path:
12 sys.path.insert(0, str(cand))
13
14 pytest_plugins = ["doctest"]