Skip to content

Commit 849e339

Browse files
author
Erlend Egeberg Aasland
authored
bpo-40823: Use loadTestsFromTestCase() iso. makeSuite() in sqlite3 tests (GH-20538)
1 parent 1ab0459 commit 849e339

File tree

10 files changed

+345
-320
lines changed

10 files changed

+345
-320
lines changed

Lib/sqlite3/test/backup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def test_database_source_name(self):
162162

163163

164164
def suite():
165-
return unittest.makeSuite(BackupTests)
165+
return unittest.TestLoader().loadTestsFromTestCase(BackupTests)
166166

167167
if __name__ == "__main__":
168168
unittest.main()

0 commit comments

Comments
 (0)