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:
commit
bc39869095
7 changed files with 28 additions and 28 deletions
|
@ -1305,7 +1305,7 @@ class Test_TestLoader(unittest.TestCase):
|
|||
# "The default value is the TestSuite class"
|
||||
def test_suiteClass__default_value(self):
|
||||
loader = unittest.TestLoader()
|
||||
self.assertTrue(loader.suiteClass is unittest.TestSuite)
|
||||
self.assertIs(loader.suiteClass, unittest.TestSuite)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue