Commit 0685847e authored by R David Murray's avatar R David Murray

#27904: fix distutils tests.

Patch by Ville Skyttä.
parent 3ac58425
...@@ -168,7 +168,8 @@ class BuildPyTestCase(support.TempdirManager, ...@@ -168,7 +168,8 @@ class BuildPyTestCase(support.TempdirManager,
finally: finally:
sys.dont_write_bytecode = old_dont_write_bytecode sys.dont_write_bytecode = old_dont_write_bytecode
self.assertIn('byte-compiling is disabled', self.logs[0][1]) self.assertIn('byte-compiling is disabled',
self.logs[0][1] % self.logs[0][2])
def test_suite(): def test_suite():
......
...@@ -104,7 +104,8 @@ class InstallLibTestCase(support.TempdirManager, ...@@ -104,7 +104,8 @@ class InstallLibTestCase(support.TempdirManager,
finally: finally:
sys.dont_write_bytecode = old_dont_write_bytecode sys.dont_write_bytecode = old_dont_write_bytecode
self.assertIn('byte-compiling is disabled', self.logs[0][1]) self.assertIn('byte-compiling is disabled',
self.logs[0][1] % self.logs[0][2])
def test_suite(): def test_suite():
......
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