8000 bpo-40823: Use loadTestsFromTestCase() iso. makeSuite() in sqlite3 tests by erlend-aasland · Pull Request #20538 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-40823: Use loadTestsFromTestCase() iso. makeSuite() in sqlite3 tests #20538

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jan 7, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Use loadTestsFromTestCase iso. makeSuite in Lib/sqlite3/test/
Ref. issue 5846: unittest.makeSuite is deprecated
  • Loading branch information
Erlend E. Aasland committed Jan 6, 2021
commit 412506a5a144bd44823f544839e3792f79f292f8
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