Commit 8bc2c61d authored by Stefan Behnel's avatar Stefan Behnel

test runner: disable pure Python doctest runs with --cython-only

parent de0e7c28
......@@ -388,7 +388,7 @@ class TestBuilder(object):
for test in self.build_tests(test_class, path, workdir,
module, mode == 'error', tags):
suite.addTest(test)
if mode == 'run' and ext == '.py':
if mode == 'run' and ext == '.py' and not cython_only:
# additionally test file in real Python
suite.addTest(PureDoctestTestCase(module, os.path.join(path, filename)))
......
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