Commit 71d738a1 authored by Jason R. Coombs's avatar Jason R. Coombs

Restore Python 3.5 syntax compatibility in distutils.tests.test_build_ext

parent 3a4c2210
......@@ -82,7 +82,7 @@ class BuildExtTestCase(TempdirManager,
else:
ALREADY_TESTED = type(self).__name__
code = textwrap.dedent(f"""
code = textwrap.dedent("""
tmp_dir = {self.tmp_dir!r}
import sys
......@@ -108,7 +108,7 @@ class BuildExtTestCase(TempdirManager,
unittest.main()
""")
""".format(**locals()))
assert_python_ok('-c', code)
def test_solaris_enable_shared(self):
......
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