403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.217.37
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/python36/lib64/python3.6/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python36/lib64/python3.6/test/__pycache__/test_macpath.cpython-36.opt-2.pyc
3

�
�^�@sXddlZddlmZddlZGdd�dej�ZGdd�dejej�ZedkrTej	�dS)�N)�test_genericpathc@sDeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dS)�MacPathTestCasecCs|jtjd�d�dS)Nzxx:yy)�assertEqual�macpath�abspath)�self�r�1/opt/alt/python36/lib64/python3.6/test_macpath.py�test_abspathszMacPathTestCase.test_abspathcCs�tj}|j|d��|j|d��|j|d��|j|d��|j|d��|j|d��|j|d��|j|d��|j|d	��|j|d
��|j|d��|j|d��|j|d
��|j|d��dS)Nzxx:yyzxx:yy:zxx:Zfooz:fooz:foo:barz	:foo:bar:sxx:yysxx:yy:sxx:sfoos:foos:foo:bars	:foo:bar:)r�isabsZ
assertTrueZassertFalse)rrrrr	�
test_isabsszMacPathTestCase.test_isabscCs�tj}|j|d�d�|j|d�d�|j|d�d�|j|d�d�|j|d
�d�|j|d
�d�|j|d�d�|j|d�d�dS)Nzfoo:bar�foo:�barzconky:mountpoint:foo:bar�conky:mountpoint:foo�:�z:conky:mountpoint:�:conky:mountpointsfoo:bar�foo:�barsconky:mountpoint:foo:bar�conky:mountpoint:foo�:�s:conky:mountpoint:�:conky:mountpoint)r
r)rr)rr)rr)rr)rr)rr)rr)r�splitr)rrrrr	�
test_splits





zMacPathTestCase.test_splitcCsvtj}|j|dd�d�|j|dd�d�|j|dd�d�|j|dd�d�|j|dd�d�|j|dd	�d�|j|d
d	�d
�|j|dd�d�|j|d
d�d
�|j|dd�d�|j|dd�d�|j|ddd�d�|j|dd
�d�|j|dd�d�|j|ddd�d�|j|dd�d�|j|d
d�d�|j|dd�d�|j|dd�d�|j|dd�d�|j|dd�d�|j|dd�d�|j|dd�d�|j|dd�d�|j|dd�d�|j|dd�d�|j|dd�d�|j|dd�d�|j|ddd�d�|j|dd�d �|j|dd!�d �|j|dd"d!�d#�|j|dd$�d$�|j|dd$�d$�dS)%N�a�bz:a:bz:az:a:z:a::z:a::bz::brza:rza:b�cza:b:cz:cz:bz:a:b:czb:�a�bs:a:bs:as:a:s:a::s:a::bs::brsa:rsa:b�csa:b:cs:cs:bs:a:b:csb:)r�joinr)rr!rrr	�	test_join1sFzMacPathTestCase.test_joincCs�tj}|j|d�d�|j|d�d�|j|d�d�|j|d�d�|j|d�d�|j|d�d�|j|d	�d�|j|d�d�|j|d�d�|j|d
�d�|j|d�d�|j|d�d �|j|d�d!�|j|d�d"�dS)#Nz:foo.ext�:foo�.extzfoo:foo.ext�foo:foor�foo.ext:foo�	:foo.ext:zfoo.bar.ext�foo.bars:foo.ext�:foo�.extsfoo:foo.ext�foo:foor�foo.ext:foo�	:foo.ext:sfoo.bar.ext�foo.bar)r#r$)r%r$)r$r)r&r)r'r)rr)r(r$)r)r*)r+r*)r*r)r,r)r-r)rr)r.r*)r�splitextr)rr/rrr	�
test_splitextWszMacPathTestCase.test_splitextcCs�tj}|j|d�d�|j|d�d�|j|d�d�|j|d�d�|j|d�d�|j|d�d�|j|d	�d�|j|d
�d�|j|d�d�|j|d�d�dS)
Nza:Tza:bFza:b:rrsa:sa:bsa:b:rr)r�ismountr)rr1rrr	�test_ismountiszMacPathTestCase.test_ismountcCs*tj}|j|d�d�|j|d�d�|j|d�d�|j|d�d�|jtj|d�|jtj|d	�|j|d
�d
�|j|d�d�|j|d�d�|j|d
�d
�|j|d�d�|j|d�d�|j|d�d�|jtj|d�|jtj|d�|j|d�d�|j|d�d�|j|d�d
�dS)Nza:brz:aza:b::cza:cz	a:b:c:::dza:dza::bza:b:::crza:za:b:sa:brs:asa:b::csa:cs	a:b:c:::dsa:dsa::bsa:b:::crsa:sa:b:)r�normpathrZassertRaisesZ
norm_error)rr3rrr	�
test_normpathws&zMacPathTestCase.test_normpathN)
�__name__�
__module__�__qualname__r
rrr"r0r2r4rrrr	rs&rc@seZdZeZdZdS)�
MacCommonTestN)r5r6r7rZ
pathmoduleZtest_relpath_errorsrrrr	r8�sr8�__main__)
rZtestrZunittestZTestCaserZ
CommonTestr8r5�mainrrrr	�<module>s	

Youez - 2016 - github.com/yon3zu
LinuXploit