| Server IP : 66.29.146.62 / Your IP : 216.73.216.152 Web Server : LiteSpeed System : Linux premium231.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64 User : dokkdzvi ( 925) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python36/lib64/python3.6/idlelib/idle_test/__pycache__/ |
Upload File : |
3
� fd
� @ s� d Z ddlmZ ddlZddlmZ ddlmZ ddlZG dd� d�Z e � Z
G dd � d �Ze� ZG d
d� dej
�ZG dd
� d
ej
�ZG dd� dej
�Zedkr�ejdd� 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%.
� )�
GrepDialogN)�captured_stdout)�Varc @ s e Zd ZdZdd� 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 C s | j S )N)�_pat)�self� r �@/opt/alt/python36/lib64/python3.6/idlelib/idle_test/test_grep.py�getpat s zDummy_searchengine.getpatN)�__name__�
__module__�__qualname__�__doc__r
r r r r r s r c @ s, e Zd ZejZejZed�ZeZ dd� Z
dS )�
Dummy_grepFc C s d S )Nr )r r r r �close"