saunafs: 4.6.0 -> 4.7.0 (#379649)
[NixPkgs.git] / pkgs / development / python-modules / nanoemoji / test-pythonpath.patch
blob12733224560c9b147fcb629f43def10a1d38fc2c
1 --- a/tests/test_helper.py
2 +++ b/tests/test_helper.py
3 @@ -269,9 +269,9 @@
4 print("subprocess:", " ".join(cmd)) # very useful on failure
5 env = {
6 # We may need to find nanoemoji and other pip-installed cli tools
7 - "PATH": str(Path(shutil.which("nanoemoji")).parent),
8 + "PATH": str(Path(shutil.which("nanoemoji")).parent) + ":" + os.environ["PATH"],
9 # We may need to find test modules
10 - "PYTHONPATH": os.pathsep.join((str(Path(__file__).parent),)),
11 + "PYTHONPATH": os.pathsep.join((str(Path(__file__).parent),)) + ":" + os.environ["PYTHONPATH"],
13 # Needed for windows CI to function; ref https://github.com/appveyor/ci/issues/1995
14 if "SYSTEMROOT" in os.environ: