Commit adf1223d authored by Stefan Behnel's avatar Stefan Behnel

Fix a test failure due to a stupid str type check in Py2 distutils.

parent 8a08c4f7
......@@ -1124,6 +1124,8 @@ class CythonCompileTestCase(unittest.TestCase):
extension = newext or extension
if self.language == 'cpp':
extension.language = 'c++'
if IS_PY2:
workdir = str(workdir) # work around type check in distutils that disallows unicode strings
build_extension.extensions = [extension]
build_extension.build_temp = workdir
build_extension.build_lib = workdir
......
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