aboutsummaryrefslogtreecommitdiffstats
path: root/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'conftest.py')
-rw-r--r--conftest.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/conftest.py b/conftest.py
index abb79f1b..5bebe21a 100644
--- a/conftest.py
+++ b/conftest.py
@@ -1,3 +1,6 @@
+import sys
+
+
pytest_plugins = 'setuptools.tests.fixtures'
@@ -9,9 +12,12 @@ def pytest_addoption(parser):
collect_ignore = [
- 'setuptools/lib2to3_ex.py',
'tests/manual_test.py',
'tests/test_pypi.py',
'pavement.py',
'setuptools/tests/mod_with_constant.py',
]
+
+
+if sys.version_info < (3,):
+ collect_ignore.append('setuptools/lib2to3_ex.py')