Skip to content
Merged
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
Prev Previous commit
Next Next commit
Revert 'lazy import _colorize' in sqlite3.__main__
  • Loading branch information
hugovk committed May 6, 2026
commit 7bcfc9c392f20482a18f70a584fb43469f76b309
8 changes: 1 addition & 7 deletions Lib/test/test_sqlite3/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@
import os

from sqlite3.__main__ import main as cli
from test.support.import_helper import ensure_lazy_imports, import_module
from test.support.import_helper import import_module
from test.support.os_helper import TESTFN, unlink
from test.support.pty_helper import run_pty
from test.support import (
captured_stdout,
captured_stderr,
captured_stdin,
cpython_only,
force_not_colorized_test_class,
requires_subprocess,
verbose,
Expand Down Expand Up @@ -438,11 +437,6 @@ def test_complete_no_input(self):
raise


class LazyImportTest(unittest.TestCase):
@cpython_only
def test_lazy_import(self):
ensure_lazy_imports("sqlite3.__main__", {"_colorize"})


if __name__ == "__main__":
unittest.main()