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

Unified Diff: Lib/distutils/tests/test_archive_util.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
« no previous file with comments | « no previous file | Lib/distutils/tests/test_bdist_rpm.py » ('j') | Lib/distutils/tests/test_clean.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/distutils/tests/test_archive_util.py Thu Nov 14 23:50:51 2013 +0200
+++ b/Lib/distutils/tests/test_archive_util.py Fri Nov 15 09:27:30 2013 +0200
@@ -210,7 +210,7 @@
dry_run=True)
finally:
os.chdir(old_dir)
- self.assertTrue(not os.path.exists(tarball))
+ self.assertFalse(os.path.exists(tarball))
self.assertEqual(len(w.warnings), 1)
@unittest.skipUnless(ZIP_SUPPORT and ZLIB_SUPPORT,
« no previous file with comments | « no previous file | Lib/distutils/tests/test_bdist_rpm.py » ('j') | Lib/distutils/tests/test_clean.py » ('J')

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