diff options
author | R David Murray <rdmurray@bitdance.com> | 2016-08-31 11:39:35 -0400 |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2016-08-31 11:39:35 -0400 |
commit | 4a1c7fc65d46f2d4b28a01496e0bf6c57b36bc35 (patch) | |
tree | 522cde57feb54304c1552992272f682ef00bd785 /Lib/distutils/tests | |
parent | 6fae08cd104afd15190d836823a0dab7b228d0e6 (diff) | |
download | cpython-4a1c7fc65d46f2d4b28a01496e0bf6c57b36bc35.tar.gz |
#27904: fix distutils tests.
Patch by Ville Skytt?.
Diffstat (limited to 'Lib/distutils/tests')
-rw-r--r-- | Lib/distutils/tests/test_build_py.py | 3 | ||||
-rw-r--r-- | Lib/distutils/tests/test_install_lib.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Lib/distutils/tests/test_build_py.py b/Lib/distutils/tests/test_build_py.py index 18283dc722..0712e92c6a 100644 --- a/Lib/distutils/tests/test_build_py.py +++ b/Lib/distutils/tests/test_build_py.py @@ -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(): diff --git a/Lib/distutils/tests/test_install_lib.py b/Lib/distutils/tests/test_install_lib.py index 5378aa8249..fda6315bbc 100644 --- a/Lib/distutils/tests/test_install_lib.py +++ b/Lib/distutils/tests/test_install_lib.py @@ -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(): |