aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2018-06-06 08:45:42 -0400
committerJason R. Coombs <jaraco@jaraco.com>2018-06-06 08:45:42 -0400
commit0a39f8e47944ef416fdd276ec91a3be464fa8a2e (patch)
tree37487b09b704987545638e758dc95b1950abeb34
parent992293d1aa03ad3e7258f51bdbb385ace4035737 (diff)
downloadexternal_python_setuptools-0a39f8e47944ef416fdd276ec91a3be464fa8a2e.tar.gz
external_python_setuptools-0a39f8e47944ef416fdd276ec91a3be464fa8a2e.tar.bz2
external_python_setuptools-0a39f8e47944ef416fdd276ec91a3be464fa8a2e.zip
Only ignore collection on older Pythons
-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')