From 810ba88ae18893567b0c7d3b6b6ee119c288c6e7 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 5 Aug 2008 21:22:32 +0200 Subject: [PATCH] fix setup of test runner for Py3 --- runtests.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/runtests.py b/runtests.py index 12a00ad1..56811596 100644 --- a/runtests.py +++ b/runtests.py @@ -383,6 +383,13 @@ if __name__ == '__main__': 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: import coverage coverage.erase() -- 2.26.2