projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cadb9c9
)
test runner fixes
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 6 Mar 2008 10:33:07 +0000
(11:33 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 6 Mar 2008 10:33:07 +0000
(11:33 +0100)
runtests.py
patch
|
blob
|
history
diff --git
a/runtests.py
b/runtests.py
index 0976a911a5b99fc6b9fec48de2d632405b066853..53f2412b8ed2bd3664d51436a2f91113dbfee891 100644
(file)
--- a/
runtests.py
+++ b/
runtests.py
@@
-86,10
+86,11
@@
class CythonRunTestCase(unittest.TestCase):
return "running " + self.module
def runTest(self):
- self.run(
self
)
+ self.run()
def run(self, result=None):
- sys.path.insert(0, self.rootdir)
+ if not sys.path or sys.path[0] != self.rootdir:
+ sys.path.insert(0, self.rootdir)
if result is None: result = self.defaultTestResult()
try:
try: