Issue #19594: Use specific asserts in unittest tests.

This commit is contained in:
Serhiy Storchaka 2013-11-17 00:12:21 +02:00
parent 7c5e24f948
commit 5665bc5980
7 changed files with 28 additions and 28 deletions

View file

@ -17,7 +17,7 @@ class SentinelTest(unittest.TestCase):
def testDEFAULT(self):
self.assertTrue(DEFAULT is sentinel.DEFAULT)
self.assertIs(DEFAULT, sentinel.DEFAULT)
def testBases(self):
# If this doesn't raise an AttributeError then help(mock) is broken