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

Unified Diff: Lib/distutils/tests/test_sysconfig.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_sysconfig.py Thu Nov 14 23:50:51 2013 +0200
+++ b/Lib/distutils/tests/test_sysconfig.py Fri Nov 15 09:27:30 2013 +0200
@@ -50,7 +50,7 @@
def test_get_config_vars(self):
cvars = sysconfig.get_config_vars()
- self.assertTrue(isinstance(cvars, dict))
+ self.assertIsInstance(cvars, dict)
self.assertTrue(cvars)
def test_srcdir(self):

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