projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e15c71f
)
fix setup of test runner for Py3
author
Stefan Behnel
<scoder@users.berlios.de>
Tue, 5 Aug 2008 19:22:32 +0000
(21:22 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Tue, 5 Aug 2008 19:22:32 +0000
(21:22 +0200)
runtests.py
patch
|
blob
|
history
diff --git
a/runtests.py
b/runtests.py
index 12a00ad1814b37d6e28cb328d078d01f7c9c8530..56811596e4973f3b37955a297ec74e35889d3d93 100644
(file)
--- 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()