%PDF- %PDF-
Direktori : /usr/local/lib/python2.7/idlelib/idle_test/ |
Current File : //usr/local/lib/python2.7/idlelib/idle_test/test_grep.pyo |
ó Pêáac @ 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( ( s7 /usr/local/lib/python2.7/idlelib/idle_test/test_grep.pyt getpat s ( t __name__t __module__t __doc__R ( ( ( s7 /usr/local/lib/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 ( ( s7 /usr/local/lib/python2.7/idlelib/idle_test/test_grep.pyt close"