◐ Shell
clean mode source ↗

Message 123614 - Python tracker

test___all__ imports a lot of modules, but I found one of
following modules can bring same error.

# just import one of these in test_main(test___all__)

#    import idlelib.AutoComplete
#    import tkinter.scrolledtext
#    import tkinter.ttk
#    import turtle

//////////////////////////////////////////////////////

And actually, "import tkinter" is enough.