mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
bpo-40823: Use loadTestsFromTestCase() iso. makeSuite() in sqlite3 tests (GH-20538)
This commit is contained in:
parent
1ab045933b
commit
849e339a92
10 changed files with 345 additions and 320 deletions
|
@ -162,7 +162,7 @@ class BackupTests(unittest.TestCase):
|
|||
|
||||
|
||||
def suite():
|
||||
return unittest.makeSuite(BackupTests)
|
||||
return unittest.TestLoader().loadTestsFromTestCase(BackupTests)
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue