mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +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 @@ def test_database_source_name(self):
|
|||
|
||||
|
||||
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