diff --git a/Lib/test/test_audit.py b/Lib/test/test_audit.py index 6a025f39912..a7ff038c093 100644 --- a/Lib/test/test_audit.py +++ b/Lib/test/test_audit.py @@ -155,10 +155,7 @@ class AuditTest(unittest.TestCase): def test_sqlite3(self): - try: - import sqlite3 - except ImportError: - return + sqlite3 = import_helper.import_module("sqlite3") returncode, events, stderr = self.run_python("test_sqlite3") if returncode: self.fail(stderr)