Commit 86e1ec60 authored by Stefan Behnel's avatar Stefan Behnel

test runner fixes

parent cadb9c9b
......@@ -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:
......
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