Commit 91db5178 authored by Stefan Behnel's avatar Stefan Behnel

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

parent 3f2537db
......@@ -1125,6 +1125,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