summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2018-05-11 14:26:58 -0400
committerJason R. Coombs <jaraco@jaraco.com>2018-05-11 14:26:58 -0400
commit98f2cfb110f9713f106bd1ac9bccac54d6bdd6a6 (patch)
tree528f4a560c774fec1922d0beb88b2a9fe5d46fc3
parentcbc0215c01fd1d26535fdad760ac73403df2b96c (diff)
downloadcherrypy-git-15.0.0.tar.gz
Don't try collecting tests in docsv15.0.0
-rw-r--r--conftest.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/conftest.py b/conftest.py
index 5dc1dfe1..b4232296 100644
--- a/conftest.py
+++ b/conftest.py
@@ -1,7 +1,14 @@
"""test configuration for pytest."""
+import sys
+
collect_ignore = [
# imports win32api, so not viable on some systems
'cherrypy/process/win32.py',
]
+
+
+if sys.version_info < (3, 6):
+ # Modules in docs require Python 3.6
+ collect_ignore.append('docs')