summaryrefslogtreecommitdiff
path: root/tests/test_testing.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_testing.py')
-rw-r--r--tests/test_testing.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_testing.py b/tests/test_testing.py
index 2b01584e..79d8dcae 100644
--- a/tests/test_testing.py
+++ b/tests/test_testing.py
@@ -19,6 +19,12 @@ from tests.coveragetest import CoverageTest, convert_skip_exceptions
from tests.helpers import CheckUniqueFilenames, re_lines, re_line
+def test_xdist_sys_path_nuttiness_is_fixed():
+ # See conftest.py:fix_xdist_sys_path
+ assert sys.path[1] != ''
+ assert os.environ.get('PYTHONPATH') is None
+
+
class TestingTest(TestCase):
"""Tests of helper methods on `backunittest.TestCase`."""