[Python-checkins] gh-94998: Remove redundant condition in test_sqlite3/__main__.py (GH-95052)
miss-islington
webhook-mailer at python.org
Wed Jul 20 13:02:07 EDT 2022
https://github.com/python/cpython/commit/2ac10964239f1677b0da5fc40794da1f40c779c2
commit: 2ac10964239f1677b0da5fc40794da1f40c779c2
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-07-20T10:01:58-07:00
summary:
gh-94998: Remove redundant condition in test_sqlite3/__main__.py (GH-95052)
(cherry picked from commit 9d09e7b0263c248659f3b4a2c597fca9ac4f8f91)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland at protonmail.com>
files:
M Lib/test/test_sqlite3/__main__.py
diff --git a/Lib/test/test_sqlite3/__main__.py b/Lib/test/test_sqlite3/__main__.py
index 51eddc3c2fde0..ca6a8347fbd23 100644
--- a/Lib/test/test_sqlite3/__main__.py
+++ b/Lib/test/test_sqlite3/__main__.py
@@ -1,5 +1,4 @@
from test.test_sqlite3 import load_tests # Needed for the "load tests" protocol.
import unittest
-if __name__ == "__main__":
- unittest.main()
+unittest.main()
More information about the Python-checkins
mailing list