#27904: fix distutils tests.

Patch by Ville Skyttä.
This commit is contained in:
R David Murray 2016-08-31 11:39:35 -04:00
parent dd917f84e3
commit 8890bb2264
2 changed files with 4 additions and 2 deletions

View File

@ -168,7 +168,8 @@ class BuildPyTestCase(support.TempdirManager,
finally:
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():

View File

@ -104,7 +104,8 @@ class InstallLibTestCase(support.TempdirManager,
finally:
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():