mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #24759: IDLE requires tk 8.5 and availability ttk widgets.
Delete now unneeded tk version tests and code for older versions.
This commit is contained in:
parent
82ae15597f
commit
1080d13a7d
8 changed files with 38 additions and 40 deletions
|
@ -4,6 +4,8 @@ from test.support import import_module
|
|||
# Skip test if _thread or _tkinter wasn't built or idlelib was deleted.
|
||||
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.")
|
||||
idletest = import_module('idlelib.idle_test')
|
||||
|
||||
# Without test_main present, regrtest.runtest_inner (line1219) calls
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue