Commit 6be512ce authored by Stefan Behnel's avatar Stefan Behnel

fix non-forked testing

parent ab3d64a2
...@@ -595,8 +595,8 @@ class CythonRunTestCase(CythonCompileTestCase): ...@@ -595,8 +595,8 @@ class CythonRunTestCase(CythonCompileTestCase):
def run_forked_test(result, run_func, test_name, fork=True): def run_forked_test(result, run_func, test_name, fork=True):
if sys.version_info[0] >= 3 or not hasattr(os, 'fork') or not fork: if not fork or sys.version_info[0] >= 3 or not hasattr(os, 'fork'):
run_test(result) run_func(result)
gc.collect() gc.collect()
return return
......
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