commit | 849e339a925fb398be31e566c31b99ce6cdb6006 | [log] [tgz] |
---|---|---|
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | Thu Jan 07 01:05:07 2021 +0100 |
committer | GitHub <noreply@github.com> | Thu Jan 07 02:05:07 2021 +0200 |
tree | 8dbfab703951c57395932ee01eef76a1b096d6e1 | |
parent | 1ab045933b90d1954af983cc08d1bf0bc46b6240 [diff] [blame] |
bpo-40823: Use loadTestsFromTestCase() iso. makeSuite() in sqlite3 tests (GH-20538)
diff --git a/Lib/sqlite3/test/backup.py b/Lib/sqlite3/test/backup.py index 3637c4b..ddff78c 100644 --- a/Lib/sqlite3/test/backup.py +++ b/Lib/sqlite3/test/backup.py
@@ -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()