]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-94998: Remove redundant condition in test_sqlite3/__main__.py (GH-95052)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 20 Jul 2022 17:01:58 +0000 (10:01 -0700)
committerGitHub <noreply@github.com>
Wed, 20 Jul 2022 17:01:58 +0000 (10:01 -0700)
(cherry picked from commit 9d09e7b0263c248659f3b4a2c597fca9ac4f8f91)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
Lib/test/test_sqlite3/__main__.py

index 51eddc3c2fde02d01d49c88904d584b92459d559..ca6a8347fbd231154f8b7e4a8302c3718f4de84a 100644 (file)
@@ -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()