⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.10
/
unittest
/
__pycache__
/
View File Name :
suite.cpython-310.pyc
o }5h4 @ s| d Z ddlZddlmZ ddlmZ dZdd ZG d d d eZG dd d eZ G dd d eZ dd ZG dd deZdS ) TestSuite N )case)utilTc C s t | |dd }| d S )Nc S d S N r r r %/usr/lib/python3.10/unittest/suite.py
s z!_call_if_exists.
.
)getattr)parentattrfuncr r r _call_if_exists s r c @ sn e Zd ZdZdZdddZdd Zdd Zd d Zdd Z dd Z dd Zdd Zdd Z dd Zdd ZdS ) BaseTestSuitezNA simple test suite that doesn't provide class or module shared fixtures. Tr c C s g | _ d| _| | d S Nr )_tests_removed_testsaddTests)selftestsr r r __init__ s zBaseTestSuite.__init__c C s dt | jt| f S )Nz <%s tests=%s>)r strclass __class__listr r r r __repr__ s zBaseTestSuite.__repr__c C s t || jstS t| t|kS r ) isinstancer NotImplementedr )r otherr r r __eq__ s zBaseTestSuite.__eq__c C s t | jS r )iterr r r r r __iter__" zBaseTestSuite.__iter__c C s$ | j }| D ] }|r|| 7 }q|S r )r countTestCases)r casestestr r r r$ % s zBaseTestSuite.countTestCasesc C sL t |s tdt|t|trt|tjt frtd| j | d S )Nz{} is not callablezNTestCases and TestSuites must be instantiated before passing them to addTest())callable TypeErrorformatreprr type issubclassr TestCaser r appendr r&