OwlCyberSecurity - MANAGER
Edit File: test_autoexpand.pyo
� {fc�����������@���s����d��Z��d�d�l�Z�d�d�l�m�Z�d�d�l�m�Z�m�Z�d�d�l�m�Z�d�d �d�������YZ �d�e�j �f�d �������YZ�e�d �k�r��e�j �d�d���n��d�S(���s!���Unit tests for idlelib.AutoExpandi����N(���t���requires(���t���Textt���Tk(���t ���AutoExpandt ���Dummy_Editwinc�����������B���s���e��Z�d�����Z�RS(���c���������C���s ���|�|��_��d��S(���N(���t���text(���t���selfR���(����(����s9���/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt���__init__���s����(���t���__name__t ���__module__R���(����(����(����s9���/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyR��� ���s���t���AutoExpandTestc�����������B���s\���e��Z�e�d�������Z�e�d������Z�d����Z�d����Z�d����Z�d����Z�d����Z �d����Z �RS(���c���������C���se���d�t��t���k�r=�t�d���t����|��_�t�|��j���|��_�n�t����|��_�t�t�|��j�����|��_�d��S(���Nt���Tkintert���gui( ���t���strR���R����R���t���tkR���R���R���t���auto_expand(���t���cls(����(����s9���/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt ���setUpClass���s���� c���������C���s5���|��`��|��`�t�|��d���r1�|��j�j����|��`�n��d��S(���NR���(���R���R���t���hasattrR���t���destroy(���R���(����(����s9���/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt ���tearDownClass���s���� c���������C���s���|��j��j�d�d���d��S(���Ns���1.0t���end(���R���t���delete(���R���(����(����s9���/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt���tearDown!���s����c���������C���s��|��j��}�|��j�j�}�|��j�}�|�|����d���|�j�d�d���|�|����d���|�j�d�d���|�|����d���|�j�d�d���|�|����d���|�j�d�d���|�|����d���|�j�d�d���|�|����d ���|�j�d �d���|�|����d���|�j�d�d���|�|����d���d��S( ���Nt����t���insertt���tt���hist���thist��� t���iss��� sample stringt���strings���3.0s���1.0R���(���R���R���t���getprevwordt���assertEqualR���R���(���R���R���t���previoust���equal(����(����s9���/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt���test_get_prevword$���s$���� c���������C���s����|��j��j�}�|��j��j�}�|��j�}�|��j�j�d�d���|�|��j��j����d�d�d�d�g���|�d���|�|����d���|�d���|�|����d���|�d���|�|����d���|�d���|�|����d���d��S(���NR���s���ab ac bx ad ab at���abt���adt���act���at���event(���R���R ���t���expand_word_eventR!���R���R���t���getwords(���R���R"���t���expandR#���(����(����s9���/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt���test_before_only@���s���� " c���������C���s����|��j��}�|��j�j�}�|��j�j�}�|��j�}�|�j�d�d���|�j�d�d���|�|��j�j����d�d�d�d�g���|�d���|�|����d���|�d���|�|����d���|�d���|�|����d���|�d���|�|����d���d��S( ���NR���s ���a, [ab] ac: () bx"" cd ac= ad yas���1.1R%���R'���R&���R(���R)���(���R���R���R ���R*���R!���R���t���mark_setR+���(���R���R���R"���R,���R#���(����(����s9���/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt���test_after_onlyP���s���� " c���������C���s����|��j��}�|��j�j�}�|��j�j�}�|��j�}�|�j�d�d���|�j�d�d���|�j�d�d���|�|��j�j����d�d�d�g���|�d���|�|����d���|�d���|�|����d���|�d���|�|����d���d��S( ���NR���s ���ab xy yz s ���a ac by acs���2.1R%���R'���R(���R)���(���R���R���R ���R*���R!���R���R.���R+���(���R���R���R"���R,���R#���(����(����s9���/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt���test_both_before_afterc���s���� c���������C���s����|��j��}�|��j�j�}�|��j�}�|�|��j�j����g����|�|�d���d���|�j�d�d���|�|��j�j����g����|�j�d�d���|�j�d�d���|�d���|��j�j�}�|�j�d�d���|�d���|��j�j�}�|��j�|�|���d��S(���NR)���t���breakR���s ���bx cy dz as���ac xy a ac ad as���1.7s���1.end( ���R���R���R*���R!���R+���R���R.���t���statet���assertNotEqual(���R���R���R,���R#���t ���initial_statet ���new_state(����(����s9���/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt���test_other_expand_casesu���s���� (���R���R ���t���classmethodR���R���R���R$���R-���R/���R0���R6���(����(����(����s9���/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyR ������s��� t���__main__t ���verbosityi���(����(���t���__doc__t���unittestt���test.test_supportR����R���R���R���t���idlelib.AutoExpandR���R���t���TestCaseR ���R���t���main(����(����(����s9���/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt���<module>���s���~