Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(41438)

Unified Diff: Lib/distutils/tests/test_install_lib.py

Issue 19600: Use specific asserts in distutils tests
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
--- a/Lib/distutils/tests/test_install_lib.py Thu Nov 14 23:50:51 2013 +0200
+++ b/Lib/distutils/tests/test_install_lib.py Fri Nov 15 09:27:30 2013 +0200
@@ -105,7 +105,7 @@
finally:
sys.dont_write_bytecode = old_dont_write_bytecode
- self.assertTrue('byte-compiling is disabled' in self.logs[0][1])
+ self.assertIn('byte-compiling is disabled', self.logs[0][1])
def test_suite():

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+