• File: test_zoomheight.cpython-37.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python37/lib64/python3.7/idlelib/idle_test/__pycache__/test_zoomheight.cpython-37.pyc
  • Date Modified: 10/26/2026 8:08 PM
  • File size: 1.48 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
B

Nj@sfdZddlmZddlZddlmZddlmZddlm	Z	Gdddej
Zed	krbej
d
ddS)zTest zoomheight, coverage 66%.)
zoomheightN)requires)Tk)EditorWindowc@s4eZdZeddZeddZddZddZd	S)
TestcCs,tdt|_|jt|jd|_dS)NZgui)root)rrrZwithdrawreditwin)clsr
F/opt/alt/python37/lib64/python3.7/idlelib/idle_test/test_zoomheight.py
setUpClass
s
zTest.setUpClasscCsL|j|jx$|jjddD]}|j|q&W|j|`dS)NZafterinfo)rZ_closerZupdate_idletasksZtkZcallZafter_cancelZdestroy)r	idr
r
r
tearDownClasss


zTest.tearDownClasscCs t|j}||j|jdS)N)r
ZoomHeightrZassertIs)selfzoomr
r
r	test_initszTest.test_initcCst|j}|dS)N)rrrZzoom_height_event)rrr
r
rtest_zoom_height_event!szTest.test_zoom_height_eventN)__name__
__module____qualname__classmethodrrrrr
r
r
rrs	r__main__)	verbosity)__doc__ZidlelibrZunittestZtest.supportrZtkinterrZidlelib.editorrZTestCaserrmainr
r
r
r<module>s