Skip to content

Commit

Permalink
bpo-40823: Use loadTestsFromTestCase() iso. makeSuite() in sqlite3 te…
Browse files Browse the repository at this point in the history
…sts (GH-20538)
  • Loading branch information
Erlend Egeberg Aasland authored and adorilson committed Mar 11, 2021
1 parent d958cab commit 54608cc
Show file tree
Hide file tree
Showing 10 changed files with 345 additions and 320 deletions.
2 changes: 1 addition & 1 deletion Lib/sqlite3/test/backup.py
Expand Up @@ -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()

0 comments on commit 54608cc

Please sign in to comment.