403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.217.55
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/simplejson/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/simplejson/tests/__pycache__/__init__.cpython-38.pyc
U

�O5[d�@s�ddlmZddlZddlZddlZGdd�dej�ZGdd�dej�Zddd�Z	d	d
�Z
dd�Zed
kr�ddlZddlZej
�dej
�ej
�ej
�ej
�e�����e�dS)�)�absolute_importNc@seZdZdd�ZdS)�NoExtensionTestSuitecCs.ddl}|�d�tj�||�}|�d�|S)NrFT)�
simplejsonZ_toggle_speedups�unittest�	TestSuite�run)�self�resultr�r
�;/usr/lib/python3/dist-packages/simplejson/tests/__init__.pyrs


zNoExtensionTestSuite.runN)�__name__�
__module__�__qualname__rr
r
r
rrsrc@seZdZdd�ZdS)�TestMissingSpeedupscCs$ttd�rnt|d�r |�d�dS)NZpypy_translation_info�skipTestz_speedups.so is missing!)�hasattr�sysr)rr
r
r�runTests

zTestMissingSpeedups.runTestN)rr
rrr
r
r
rrsrcCs�ddl}ddl}ddl}|dkr(t��}zddl}Wn(tk
r\tjdkrV|YS�YnX||j	|j
fD]}|�|�|��ql|�|�
d��|S)Nr)��z../../index.rst)rZsimplejson.encoderZsimplejson.decoderrr�doctest�ImportErrorr�version_info�encoder�decoder�addTestZDocTestSuiteZDocFileSuite)�suiterr�modr
r
r�additional_testss
rcCsJdd�}|�}ddl}|��dkr0|�t��nt�|t|�g�g�}|S)NcSs.dd�t�tj�t��D�}tt���|��S)NcSs6g|].}|�d�r|�d�rdtj�|�df�qS)Ztest_z.pyzsimplejson.tests.%sr)�
startswith�endswith�os�path�splitext)�.0�fr
r
r�
<listcomp>-s

�z6all_tests_suite.<locals>.get_suite.<locals>.<listcomp>)	r!�listdirr"�dirname�__file__rrZ
TestLoaderZloadTestsFromNames)Zsuite_namesr
r
r�	get_suite,s��z"all_tests_suite.<locals>.get_suiter)rZ_import_c_make_encoderrrrrr)r*rrr
r
r�all_tests_suite+s
�r+cCs6tjdtj�d�d�}t�}t|�|�����dS)N�z-v)�	verbosity)	rZTextTestRunnerr�argv�countr+�
SystemExitrZ
wasSuccessful)Zrunnerrr
r
r�main@sr1�__main__)N)Z
__future__rrrr!rrZTestCaserrr+r1rr"�insertr(�abspathr)r
r
r
r�<module>s	
.

Youez - 2016 - github.com/yon3zu
LinuXploit