File: D:/Python311/Lib/idlelib/idle_test/__pycache__/test_hyperparser.cpython-311.opt-2.pyc
�
��Vc�$ � � � d dl mZ d dlZd dlmZ d dlmZmZ d dlm Z G d� d� � Z
G d� d ej � � Ze
d
k r ej d�� � dS dS )
� )�HyperParserN)�requires)�Tk�Text)�EditorWindowc �0 � e Zd Zd� Zej Zej ZdS )�DummyEditwinc �L � || _ d| _ d| _ d| _ d| _ d S )N� �>>>)�2 i� i� )�text�indentwidth�tabwidth�prompt_last_line�num_context_lines)�selfr s �6D:\Python311\Lib\idlelib\idle_test\test_hyperparser.py�__init__zDummyEditwin.__init__
s. � ��� ������
� %���!.����� N)�__name__�
__module__�__qualname__r r �_build_char_in_string_func�is_char_in_string� r r r r s3 � � � � � �/� /� /� ".�!H��$�6���r r c �z � e Zd ZdZed� � � Zed� � � Zd� Zd� Zd� Z d� Z
d� Zd � Zd
� Z
d� Zd� Zd
� ZdS )�HyperParserTestu# """This is a module docstring"""
# this line is a comment
x = "this is a string"
y = 'this is also a string'
l = [i for i in range(10)]
m = [py*py for # comment
py in l]
x.__len__
z = ((r'asdf')+('a')))
[x for x in
for = False
cliché = "this is a string with unicode, what a cliché"c �� � t d� � t � � | _ | j � � � t | j � � | _ t
| j � � | _ d S )N�gui)r r �root�withdrawr r r �editwin��clss r �
setUpClasszHyperParserTest.setUpClass% sP � �������4�4�������������>�>���"�3�8�,�,����r c �D � | ` | `| j � � � | `d S �N)r r# r! �destroyr$ s r �
tearDownClasszHyperParserTest.tearDownClass- s( � ��H�c�k���������H�H�Hr c �F � | j � d| j � � d S )N�insert)r r, �code�r s r �setUpzHyperParserTest.setUp3 s"