From: Stefan Behnel Date: Wed, 3 Nov 2010 15:09:26 +0000 (+0100) Subject: exclude Python regression tests from Python doctest runs X-Git-Tag: 0.14.alpha0~243 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=581671b5b48d56094f52d38edd1cb0e8e089abde;p=cython.git exclude Python regression tests from Python doctest runs --- diff --git a/runtests.py b/runtests.py index d07d13a4..8de9b204 100644 --- a/runtests.py +++ b/runtests.py @@ -191,7 +191,7 @@ class TestBuilder(object): for test in self.build_tests(test_class, path, workdir, module, expect_errors): suite.addTest(test) - if filename.endswith('.py') and context in TEST_RUN_DIRS: + if context == 'run' and filename.endswith('.py'): # additionally test file in real Python suite.addTest(PureDoctestTestCase(module, os.path.join(path, filename))) return suite