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 | 0685847e2065e046808e038fd50d3368be24541f (patch) | |
tree | 1842f7ecd7c793dd1e1b42c031e8ec77086edc69 | |
parent | 3ac5842595463683cbc1d980a8b770d84cef84f9 (diff) | |
download | python-setuptools-git-0685847e2065e046808e038fd50d3368be24541f.tar.gz |
#27904: fix distutils tests.
Patch by Ville Skyttä.
-rw-r--r-- | tests/test_build_py.py | 3 | ||||
-rw-r--r-- | tests/test_install_lib.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_build_py.py b/tests/test_build_py.py index 18283dc7..0712e92c 100644 --- a/tests/test_build_py.py +++ b/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/tests/test_install_lib.py b/tests/test_install_lib.py index 5378aa82..fda6315b 100644 --- a/tests/test_install_lib.py +++ b/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(): |