[issue22260] Rearrange tkinter tests, use test discovery

2022-03-30 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: patch review -> resolved status: pending -> closed ___ Python tracker ___ ___

[issue22260] Rearrange tkinter tests, use test discovery

2022-03-22 Thread Irit Katriel
Irit Katriel added the comment: The patch looks very out of date. Let mw know if it's still needed, otherwise I'll close. -- nosy: +iritkatriel status: open -> pending ___ Python tracker ___

[issue22260] Rearrange tkinter tests, use test discovery

2014-08-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Currently when I run DISPLAY= ./python -Wall -b -m test.regrtest -vu gui test_tcl test_tk test_ttk_textonly test_ttk_guionly skipped tests are enumerated at the end of test log: 2 tests OK. 2 tests skipped: test_tk test_ttk_guionly With the patch t

[issue22260] Rearrange tkinter tests, use test discovery

2014-08-24 Thread Zachary Ware
Zachary Ware added the comment: Here's a new version of the patch, post-#22236. Serhiy, since you want this in 2.7 and 3.4, this version doesn't move any files around (except Lib/test/test_tcl.py), which should make backporting easier. I like this patch much better than the original, it's a m

[issue22260] Rearrange tkinter tests, use test discovery

2014-08-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Currently Tkinter tests are splitted on four tests: test_tcl, test_tk, test_ttk_textonly, test_ttk_guionly. Ttk tests are separated because ttk is optional on Tk 8.4 and because ttk is separate large part of Tkinter. test_tcl and test_ttk_textonly are separa

[issue22260] Rearrange tkinter tests, use test discovery

2014-08-23 Thread Zachary Ware
Zachary Ware added the comment: This will need some reworking after #22236, which looks like it might make it possible for 'setUpGUIModule' to go away by folding its contents into AbstractTkTest.setUpClass. -- dependencies: +Do not use _default_root in Tkinter tests __

[issue22260] Rearrange tkinter tests, use test discovery

2014-08-23 Thread Zachary Ware
New submission from Zachary Ware: The attached patch rearranges the tkinter tests and strips out all of their custom test finding/loading code in favor of test discovery. The high points: - Lib/tkinter/test/ -> Lib/test/test_tkinter/, Lib/tkinter/test/test_tkinter/ -> Lib/test/test_tkinter/t