mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #19594: Use specific asserts in unittest tests.
This commit is contained in:
parent
7c5e24f948
commit
5665bc5980
7 changed files with 28 additions and 28 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue