From dc196242486dc52123ca086a4cfd9b6e46f2352a Mon Sep 17 00:00:00 2001 From: Henk-Jaap Wagenaar Date: Tue, 12 Dec 2017 08:26:40 +0000 Subject: [PATCH] Improve testing comments and code of issue 2985 (symlink in pyargs). --- testing/acceptance_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/acceptance_test.py b/testing/acceptance_test.py index fe55c5f8b..9678f6914 100644 --- a/testing/acceptance_test.py +++ b/testing/acceptance_test.py @@ -681,17 +681,17 @@ class TestInvocationVariants(object): # The structure of the test directory is now: # . # ├── local - # │ └── lib -> ../world + # │ └── lib -> ../lib # └── lib # └── foo # ├── __init__.py # └── bar # ├── __init__.py # ├── conftest.py - # └── test_world.py + # └── test_bar.py def join_pythonpath(*dirs): - cur = py.std.os.environ.get('PYTHONPATH') + cur = os.getenv('PYTHONPATH') if cur: dirs += (cur,) return os.pathsep.join(str(p) for p in dirs)