Commit b04e040d authored by Vitja Makarov's avatar Vitja Makarov

test runner py3k fix

parent 70e627d0
...@@ -880,9 +880,9 @@ class CythonPyregrTestCase(CythonRunTestCase): ...@@ -880,9 +880,9 @@ class CythonPyregrTestCase(CythonRunTestCase):
def run_tests(self, result): def run_tests(self, result):
try: try:
from test import test_support as support
except ImportError: # Py3k
from test import support from test import support
except ImportError: # Python2.x
from test import test_support as support
def run_test(result): def run_test(result):
def run_unittest(*classes): def run_unittest(*classes):
......
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