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

Nj@sfdZddlmZddlZddlmZddlmZddlm	Z	Gdddej
Zed	krbej
d
ddS)zTest , coverage 17%.)iomenuN)requires)Tk)EditorWindowc@s4eZdZeddZeddZddZddZd	S)

IOBindingTestcCs:tdt|_|jt|jd|_t|j|_dS)NZgui)root)	rrrZwithdrawreditwinrZ	IOBindingio)clsrB/opt/alt/python37/lib64/python3.7/idlelib/idle_test/test_iomenu.py
setUpClasss

zIOBindingTest.setUpClasscCsZ|j|j|`|jx$|jjddD]}|j|q4W|j	|`dS)NZafterinfo)
r	closerZ_closerZupdate_idletasksZtkZcallZafter_cancelZdestroy)r
idrrr
tearDownClasss



zIOBindingTest.tearDownClasscCs||jj|jdS)N)ZassertIsr	r)selfrrr	test_initszIOBindingTest.test_initcCsz|j}|j}|j}|jj}d|j_||d|j`|dd||d|j||ddd||d|jdS)Ng?az1.0zend-1cza
)	ZassertEqualr	ZfixnewlinesrtextZinterpinsertZeol_conventionget)reqr	Zfixrrrrtest_fixnewlines_end"sz"IOBindingTest.test_fixnewlines_endN)__name__
__module____qualname__classmethodr
rrrrrrrr
sr__main__)	verbosity)__doc__ZidlelibrZunittestZtest.supportrZtkinterrZidlelib.editorrZTestCaserrmainrrrr<module>s&