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 Jan 7, 2021
1 parent 1ab0459 commit 849e339
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
Original file line number Diff line number Diff line change
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()
Loading

0 comments on commit 849e339

Please sign in to comment.