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

Unified Diff: Lib/distutils/tests/test_bdist_wininst.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_bdist_wininst.py Thu Nov 14 23:50:51 2013 +0200
+++ b/Lib/distutils/tests/test_bdist_wininst.py Fri Nov 15 09:27:30 2013 +0200
@@ -22,7 +22,7 @@
# and make sure it finds it and returns its content
# no matter what platform we have
exe_file = cmd.get_exe_bytes()
- self.assertTrue(len(exe_file) > 10)
+ self.assertGreater(len(exe_file), 10)
def test_suite():
return unittest.makeSuite(BuildWinInstTestCase)

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