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

Unified Diff: Lib/distutils/tests/test_build_clib.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_build_clib.py Thu Nov 14 23:50:51 2013 +0200
+++ b/Lib/distutils/tests/test_build_clib.py Fri Nov 15 09:27:30 2013 +0200
@@ -137,7 +137,7 @@
cmd.run()
# let's check the result
- self.assertTrue('libfoo.a' in os.listdir(build_temp))
+ self.assertIn('libfoo.a', os.listdir(build_temp))
def test_suite():
return unittest.makeSuite(BuildCLibTestCase)

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