403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.217.54
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/twisted/python/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/twisted/python/test/__pycache__/test_dist3.cpython-38.pyc
U


W[B�@s\dZddlmZmZddlZddlZddlmZddlm	Z	ddl
mZGdd�de�ZdS)	z$
Tests for L{twisted.python.dist3}.
�)�absolute_import�divisionN)�TestCase)�_PY3)�notPortedModulesc@s2eZdZdZdd�Zdd�Zer(de_nde_dS)	�ModulesToInstallTestsz(
    Tests for L{notPortedModules}.
    cCs�tj�tj�tj��}tD]x}|�d�}|dd7<tjj|f|��}|�d�dg}tjj|f|��}|�tj�	|�p�tj�	|�d�
|��qdS)zI
        All modules listed in L{notPortedModules} exist on Py2.
        �.����.py�__init__.pyzModule {0} does not existN)�os�path�dirname�twisted�__file__r�split�joinZ
assertTrue�exists�format��self�root�moduleZsegmentsr
ZalternateSegmentsZpackagePath�r�@/usr/lib/python3/dist-packages/twisted/python/test/test_dist3.py�
test_exists

�z ModulesToInstallTests.test_existcCs�tj�tj�tj��}tD]x}|�d�}|dd7<tjj|f|��}|�d�dg}tjj|f|��}|�tj�	|�p�tj�	|�d�
|��qdS)zP
        All modules listed in L{notPortedModules} do not exist on Py3.
        rr	r
rzModule {0} existsN)rr
rrrrrrZassertFalserrrrrr�
test_notexist%s

�z#ModulesToInstallTests.test_notexistzOnly on Python 2zOnly on Python 3N)�__name__�
__module__�__qualname__�__doc__rrr�skiprrrrrsr)
r Z
__future__rrrrZtwisted.trial.unittestrZtwisted.python.compatrZtwisted.python._setuprrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit