ok
Direktori : /proc/thread-self/root/proc/self/root/lib64/python2.7/idlelib/idle_test/ |
Current File : //proc/thread-self/root/proc/self/root/lib64/python2.7/idlelib/idle_test/test_grep.pyc |
� {fc @ s d Z d d l Z d d l m Z m Z d d l m Z d d l m Z d d l Z e d � d Z d d d � � YZ e � Z d d d � � YZ e � Z d e j f d � � YZ d e j f d � � YZ d e j f d � � YZ e d k re j d d d e � n d S( s !Changing this line will break Test_findfile.test_found! Non-gui unit tests for idlelib.GrepDialog methods. dummy_command calls grep_it calls findfiles. An exception raised in one method will fail callers. Otherwise, tests are mostly independent. *** Currently only test grep_it. i����N( t captured_stdoutt findfile( t Var( t GrepDialogs idlelib/idle_tests /test_grep.pyt Dummy_searchenginec B s e Z d Z d � Z RS( s� GrepDialog.__init__ calls parent SearchDiabolBase which attaches the passed in SearchEngine instance as attribute 'engine'. Only a few of the many possible self.engine.x attributes are needed here. c C s | j S( N( t _pat( t self( ( s3 /usr/lib64/python2.7/idlelib/idle_test/test_grep.pyt getpat s ( t __name__t __module__t __doc__R ( ( ( s3 /usr/lib64/python2.7/idlelib/idle_test/test_grep.pyR s t Dummy_grepc B s; e Z e j j Z e j j Z e e � Z e Z d � Z RS( c C s d S( N( ( R ( ( s3 /usr/lib64/python2.7/idlelib/idle_test/test_grep.pyt close"