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

Nj{@sldZddlmZddlZddlmZddlmZGdddejZ	Gdd	d	ejZ
ed
krhejdddS)
zTest pyshell, coverage 12%.)pyshellN)requires)Tkc@seZdZddZddZdS)FunctionTestc
Cs|j}xxdD]p\}}}d}|d}|j||dF|p8d}t||}|t||||||d|d|WdQRXqWdS)N))r)Zfiname=<r	)filebarZShellz
 RESTART:  )assertEqualsubTestrrestart_linelen)selfeqrmulZextrawidthrlinerC/opt/alt/python37/lib64/python3.7/idlelib/idle_test/test_pyshell.pytest_restart_line_wide
sz#FunctionTest.test_restart_line_widec
Cspd\}}xF|d||dfD]0}|j|d|t|d|WdQRXqW|t|dd|ddS)N)z= RESTART: Shell)rrz =)rrrr)rZexpectZtaglenrrrrtest_restart_line_narrows
"z%FunctionTest.test_restart_line_narrowN)__name__
__module____qualname__rrrrrrr
src@s,eZdZeddZeddZddZdS)PyShellFileListTestcCstdt|_|jdS)NZgui)rrrootZwithdraw)clsrrr
setUpClass"szPyShellFileListTest.setUpClasscCs|j|`dS)N)r"Zdestroy)r#rrr
tearDownClass(s
z!PyShellFileListTest.tearDownClasscCs,t|j}||jtj||jdS)N)rZPyShellFileListr"rZEditorWindowZPyShellEditorWindowZassertIsNone)rZpsflrrr	test_init0szPyShellFileListTest.test_initN)rrr classmethodr$r%r&rrrrr! sr!__main__r)	verbosity)
__doc__ZidlelibrZunittestZtest.supportrZtkinterrZTestCaserr!rmainrrrr<module>s