python (3.11.7)

(root)/
lib/
python3.11/
idlelib/
idle_test/
__pycache__/
htest.cpython-311.opt-2.pyc

e;f	ddlZddlmZddlZddlZddlmZej	dddddd	Z
d
idd	Zdid
d	Zdddddd	Z
dddddd	Zdidd	Zdidd	Zdidd	Zdddgdgdddd	Zd id!d	Zdd"d#ed$hdd%d&d	Zd'id(d	Zd)id*d	Zd+id,d	Zd-iejd.d	Zd/id0d	Zd1d2did3d	Zd4id5d	Zdd6d7d8dd9d:d	Zd;id<d	Zd=id>d	Z d?id@d	Z!dAidBd	Z"dCiejdDd	Z#dEidFd	Z$dGidHd	Z%dIidJd	Z&dKidLd	Z'dMdNdOddPdQd	Z(dRidSd	Z)dTZ*e+dUkre*dSdS)VN)
import_module)	Scrollbar
help_aboutzhelp_about testT)title_htestzgClick on URL to open in default browser.
Verify x.y.z versions and test each button, including Close.
 )filekwdsmsg	calltip_wzTyping '(' should display a calltip.
Typing ') should hide the calltip.
So should moving cursor out of argument area.
Force-open-calltip does not work here.
	colorizerzThe text is sample Python code.
Ensure components like comments, keywords, builtins,
string, definitions, and break are correctly colored.
The default color scheme is in idlelib/config-highlight.defconfigdialogConfigDialogTestaIDLE preferences dialog.
In the 'Fonts/Tabs' tab, changing font face, should update the font face of the text in the area below it.
In the 'Highlighting' tab, try different color schemes. Clicking items in the sample program should update the choices above it.
In the 'Keys', 'General' and 'Extensions' tabs, test settings of interest.
[Ok] to close the dialog.[Apply] to apply the settings and and [Cancel] to revert all changes.
Re-run the test to ensure changes made have persisted.queryzCustomize query.py RunzEnter with <Return> or [OK].  Print valid entry to Shell
Arguments are parsed into a list
Mode is currently restart True or False
Close dialog with valid entry, <Escape>, [Cancel], [X]debugobjzDouble click on items up to the lowest level.
Attributes of the objects and related information will be displayed side-by-side at each level.	dynoptionzSelect one of the many options in the 'old option set'.
Click the button to change the option set.
Select one of the many options in the 'new option set'.editorz>Test editor functions of interest.
Best to close editor first.
config_keyzTest keybindingsz
find-again)z<Control-Key-g>z<Key-F3>z<Control-Key-G>)ractioncurrent_key_sequencesrzTest for different key modifier sequences.
<nothing> is invalid.
No modifier key is invalid.
Shift key with [a-z],[0-9], function key, move key, tab, space is invalid.
No validity checking if advanced key binding entry is used.grepzClick the 'Show GrepDialog' button.
Test the various 'Find-in-files' functions.
The results should be displayed in a new '*Output*' window.
'Right-click'->'Go to file/line' in the search results
 should open that file in a new EditorWindow.zHelp name and sourcetestabc)rmenuitemfilepath
used_namesraUEnter menu item name and help file path
'', > than 30 chars, and 'abc' are invalid menu item names.
'' and file does not exist are invalid path items.
Any url ('www...', 'http...') is accepted.
Test Browse with and without path, as cannot unittest.
[Ok] or <Return> prints valid entry to shell
<Escape>, [Cancel], or [X] prints None to shellhelpzPIf the help text displays, this works.
Text is selectable. Window is scrollable.iomenuaTest the following bindings.
<Control-o> to open file from dialog.
Edit the file.
<Control-p> to print the file.
<Control-s> to save the file.
<Alt-s> to save-as another file.
<Control-c> to save-copy-as another file.
Check that changes were saved by opening the file elsewhere.	multicallzThe following should trigger a print to console or IDLE Shell.
Entering and leaving the text area, key entry, <Control-Key>,
<Alt-Key-a>, <Control-Key-a>, <Alt-Control-Key-a>, 
<Control-Button-1>, <Alt-Button-1> and focusing elsewhere.browserz
        "Inspect names of module, class(with superclass if applicable),
        "methods and functions.  Toggle nested items.  Double clicking
        "on items prints a traceback for an exception that is ignored.	statusbarzdEnsure presence of multi-status bar below text area.
Click 'Update Status' to change the status textpathbrowserrzTest for correct display of all paths in sys.path.
Toggle nested items out to the lowest level.
Double clicking on an item prints a traceback
for an exception that is ignored.
percolatoraAThere are two tracers which can be toggled using a checkbox.
Toggling a tracer 'on' by checking it should print tracer output to the console or to the IDLE shell.
If both the tracers are 'on', the output from the tracer which was switched 'on' later, should be printed first
Test for actions like text entry, and removal.QueryzEnter somethingGo)rmessagetext0rzEnter with <Return> or [Ok].  Print valid entry to Shell
Blank line, after stripping, is ignored
Close dialog with valid entry, <Escape>, [Cancel], [X]replacezClick the 'Replace' button.
Test various replace options in the 'Replace dialog'.
Click [Close] or [X] to close the 'Replace Dialog'.scrolledlistzYou should see a scrollable list of items
Selecting (clicking) or double clicking an item prints the name to the console or Idle shell.
Right clicking an item will display a popup.searchzClick the 'Search' button.
Test various search options in the 'Search dialog'.
Click [Close] or [X] to close the 'Search Dialog'.
searchbasezKCheck the appearance of the base search dialog
Its only action is to close.sidebara        1. Click on the line numbers and drag down below the edge of the
        window, moving the mouse a bit and then leaving it there for a
        while. The text and line numbers should gradually scroll down,
        with the selection updated continuously.

        2. With the lines still selected, click on a line number above
        or below the selected lines. Only the line whose number was
        clicked should be selected.

        3. Repeat step #1, dragging to above the window. The text and
        line numbers should gradually scroll up, with the selection
        updated continuously.

        4. Repeat step #2, clicking a line number below the selection.stackviewerzSA stacktrace for a NameError exception.
Should have NameError and 1 traceback line.tooltipzPPlace mouse cursor over both the buttons
A tooltip should appear with some text.treezEThe canvas is scrollable.
Click on folders up to to the lowest level.undozClick [Undo] to undo any action.
Click [Redo] to redo any action.
Click [Dump] to dump the current state by printing to the console or the IDLE shell.
textviewz
Test textviewa'The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
)rcontentsrzFTest for read-only property of text.
Select text, scroll window, close
redirectorzEEvery text insert should be printed to the console or the IDLE shell.c
	tjdddtjd}|tj|dddd	d
t|j
}|j
|ddddddg|rC|D]?}t|jdz}|j|d<||f@ntD]j\}}|drP|dd|}|d<t%d|dz}t'|}||fktjdd
fd}d#fd	}	d#fd	}
tjd|	}tjd| 
|

d!|	d"|
|dS)$Nz
IDLE htestr
)padxword)wrapbgflatF)r8reliefheightwidth)command)yscrollcommandrightyF)sidefillexpandleftbothT_specnamezidlelib.rcHtdkr\}|dd|dzdd<ddd|d	d
d<dS)Nr	zTest rInormalstatez1.0endr
disabled)lenpack_forgetpopsetdeleteinsert)	test_speccallable_objectnext_button	test_kwds	test_list	test_nametexts K/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/idlelib/idle_test/htest.py	next_testzrun.<locals>.next_testsy>>Q##%%%%.]]__"	?f%	

g	& 11222 W
E5!!!E9U+,,,"W


cffi}	t|jdS#t$rYdSwxYwN)printresultAttributeError)_widgetrXrootrZs  r^run_testzrun.<locals>.run_testsW 3333	&-     			DD	s"
00c0dSrb)destroy)rfrhs r^closezrun.<locals>.closesr`active)textvariabledefaultr?Next)r]r?z<Key-Return>z<Key-Escape>rb)tkTkr	resizableFramepackText	configurecgetryviewconfigrTglobals__name__appenditemsendswithrgetattrreverse	StringVarButton	focus_setbindmainloop)tests
frameLabel	scrollbarrrWkeydicmodr_rirlbuttonrXrYrhrZr[r\r]s            @@@@@@@r^runrps5
577DJJ|NN1a$R(((JOO
7:F+++DNNdiioofQbNIII*dj999IKKy}K---
NNc%N888II6tI444I
4	1	1D		$-'"9:I $
Ifi$/0000	1
 		))	4	4HC||G$$
4H		$-	&!#J61B$BCCsI..  )T!2333
T""IOI##########Yt)';;;F)DvyAAAK
KKMMMIInh'''IIne$$$
IKKKMMOOOOOr`__main__),idlelib.pyshellidlelib	importlibrtextwraptkinterrqtkinter.ttkr
NoDefaultRootAboutDialog_spec_calltip_window_spec_color_delegator_specConfigDialog_specCustomRun_spec_debug_object_browser_spec_dyn_option_menu_spec_editor_window_specGetKeysWindow_spec_grep_dialog_spec__file__HelpSource_spec_helpwindow_spec_io_binding_spec_multi_call_specdedent_module_browser_spec_multistatus_bar_specPathBrowser_spec_percolator_spec
Query_spec_replace_dialog_spec_scrolled_list_spec_search_dialog_spec_searchbase_spec_sidebar_number_scrolling_spec_stackbrowser_spec
_tooltip_spec_tree_widget_spec_undo_delegator_specViewWindow_spec_widget_redirector_specrr|r`r^<module>rsU?B######!!!!!!
'

M
6
I
(

	*	"
.

D	
;
E)
(#'Y'Y'Y&Z




 
:
,!!7	


="
7
J
H
8?JKK
=

t/
<		
)

D
		

A
:
@
*
8?JKK""*
9
5

9
=
%L

/
 FFFRzCEEEEEr`