Commit 9aa3fa20 authored by Stefan Behnel's avatar Stefan Behnel

fix

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