8000 bpo-40823: Use loadTestsFromTestCase() iso. makeSuite() in sqlite3 te… · adorilson/cpython@54608cc · GitHub
[go: up one dir, main page]

Skip to content

Commit 54608cc

Browse files
Erlend Egeberg Aaslandadorilson
authored andcommitted
bpo-40823: Use loadTestsFromTestCase() iso. makeSuite() in sqlite3 tests (pythonGH-20538)
1 parent d958cab commit 54608cc

File tree

10 files changed

+345
-320
lines changed

10 files changed

+345
-320
lines changed

Lib/sqlite3/test/backup.py

Lines changed: 1 addition & 1 deletion
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)
0