File: D:/Python311/Lib/idlelib/idle_test/__pycache__/test_grep.cpython-311.opt-1.pyc
�
��Vcl � �F � d Z ddlmZ ddlZddlmZ ddlmZ ddlZddl Z G d� d� � Z
e
� � Z G d� d � � Z e� � Z
G d
� dej � � Z G d� d
ej � � Z G d� dej � � Zedk r ej d�� � dS dS )a !Changing this line will break Test_findfile.test_found!
Non-gui unit tests for grep.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, coverage 51%.
� )�grepN)�captured_stdout)�Varc � � e Zd ZdZd� ZdS )�Dummy_searchenginez�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 � � | j S �N)�_pat��selfs �/D:\Python311\Lib\idlelib\idle_test\test_grep.py�getpatzDummy_searchengine.getpat s
� ��y�� N)�__name__�
__module__�__qualname__�__doc__r � r r
r r s- � � � � � �� �� � � � r r c �F � e Zd Zej j Z ed� � ZeZ d� Z
dS )�
Dummy_grepFc � � d S r r r s r
�closezDummy_grep.close"