Commit 810ba88a authored by Stefan Behnel's avatar Stefan Behnel

fix setup of test runner for Py3

parent e15c71fc
...@@ -383,6 +383,13 @@ if __name__ == '__main__': ...@@ -383,6 +383,13 @@ if __name__ == '__main__':
options, cmd_args = parser.parse_args() options, cmd_args = parser.parse_args()
if sys.version_info[0] >= 3:
# make sure we do not import (or run) Cython itself
options.doctests = False
options.with_cython = False
options.unittests = False
options.pyregr = False
if options.coverage: if options.coverage:
import coverage import coverage
coverage.erase() coverage.erase()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment