projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5986efd
)
only run pure doctests in runnable tests directories
author
Stefan Behnel
<scoder@users.berlios.de>
Wed, 3 Nov 2010 14:51:56 +0000
(15:51 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Wed, 3 Nov 2010 14:51:56 +0000
(15:51 +0100)
runtests.py
patch
|
blob
|
history
diff --git
a/runtests.py
b/runtests.py
index 6945ddbf7c4eaea4dc9b570e71f00acee319c6d9..d07d13a4f915820e2c6ffaa049d520bb839e806d 100644
(file)
--- 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'):
+ if filename.endswith('.py')
and context in TEST_RUN_DIRS
:
# additionally test file in real Python
suite.addTest(PureDoctestTestCase(module, os.path.join(path, filename)))
return suite