mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
bpo-31370: Remove support for threads-less builds (#3385)
* Remove Setup.config * Always define WITH_THREAD for compatibility.
This commit is contained in:
parent
1f06a680de
commit
a6a4dc816d
135 changed files with 2472 additions and 4377 deletions
|
@ -3,7 +3,6 @@ from test.support import import_module
|
|||
|
||||
# Skip test if _thread or _tkinter wasn't built, if idlelib is missing,
|
||||
# or if tcl/tk is not the 8.5+ needed for ttk widgets.
|
||||
import_module('threading') # imported by PyShell, imports _thread
|
||||
tk = import_module('tkinter') # imports _tkinter
|
||||
if tk.TkVersion < 8.5:
|
||||
raise unittest.SkipTest("IDLE requires tk 8.5 or later.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue