diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2020-07-01 20:19:22 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-07-01 20:19:22 -0400 |
| commit | 71d738a1f6eced80defe3587f6adbbe4ce1fb7d1 (patch) | |
| tree | 8d788764dabb9ec92df01227785fca0e237c4588 /distutils | |
| parent | 3a4c22103551a68630b2e4b38f91deb4c78eae99 (diff) | |
| download | external_python_setuptools-71d738a1f6eced80defe3587f6adbbe4ce1fb7d1.tar.gz external_python_setuptools-71d738a1f6eced80defe3587f6adbbe4ce1fb7d1.tar.bz2 external_python_setuptools-71d738a1f6eced80defe3587f6adbbe4ce1fb7d1.zip | |
Restore Python 3.5 syntax compatibility in distutils.tests.test_build_ext
Diffstat (limited to 'distutils')
| -rw-r--r-- | distutils/tests/test_build_ext.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distutils/tests/test_build_ext.py b/distutils/tests/test_build_ext.py index 5e47e077..1aec1537 100644 --- a/distutils/tests/test_build_ext.py +++ b/distutils/tests/test_build_ext.py @@ -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): |
