diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2018-05-11 14:26:58 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-05-11 14:26:58 -0400 |
| commit | 98f2cfb110f9713f106bd1ac9bccac54d6bdd6a6 (patch) | |
| tree | 528f4a560c774fec1922d0beb88b2a9fe5d46fc3 /conftest.py | |
| parent | cbc0215c01fd1d26535fdad760ac73403df2b96c (diff) | |
| download | cherrypy-git-15.0.0.tar.gz | |
Don't try collecting tests in docsv15.0.0
Diffstat (limited to 'conftest.py')
| -rw-r--r-- | conftest.py | 7 |
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') |
