HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/lib/python3/dist-packages/twisted/trial/test/__pycache__/sample.cpython-38.pyc
U


W[k�@s�dZddlmZmZddlZddlmZddlmZGdd�dej	�Z
dd	�Zd
d�ZGdd
�d
ej	�Z
Gdd�dej�ZGdd�de�ZGdd�dej	�ZdS)z�This module is used by test_loader to test the Trial test loading
functionality. Do NOT change the number of tests in this module.  Do NOT change
the names the tests in this module.
�)�absolute_import�divisionN)�unittest��mergeFunctionMetadatac@seZdZdd�Zdd�ZdS)�FooTestcCsdS�N���selfr	r	�;/usr/lib/python3/dist-packages/twisted/trial/test/sample.py�test_fooszFooTest.test_foocCsdSrr	r
r	r	r�test_barszFooTest.test_barN��__name__�
__module__�__qualname__r
rr	r	r	rrsrcs�fdd�}|S)z�
    Decorate a function without preserving the name of the original function.
    Always return a function with the same name.
    cs
�||�Srr	��args�kwargs��fnr	r�
nameCollisionsz#badDecorator.<locals>.nameCollisionr	�rrr	rr�badDecoratorsrcs�fdd�}t�|�S)z=
    Decorate a function and preserve the original name.
    cs
�||�Srr	rrr	rr)sz$goodDecorator.<locals>.nameCollisionrrr	rr�
goodDecorator%src@sDeZdZdd�Zee�Zdd�Zee�Zdd�Zee�Zdd�Z	d	S)
�DecorationTestcCsdS)z�
        This test method is decorated in a way that gives it a confusing name
        that collides with another method.
        Nr	r
r	r	r�test_badDecorator0sz DecorationTest.test_badDecoratorcCsdS)zQ
        This test method is decorated in a way that preserves its name.
        Nr	r
r	r	r�test_goodDecorator8sz!DecorationTest.test_goodDecoratorcCsdS)z~
        This is secretly a test method and will be decorated and then renamed so
        test discovery can find it.
        Nr	r
r	r	r�renamedDecorator?szDecorationTest.renamedDecoratorcCsdS)zJ
        This isn't a test, it's just here to collide with tests.
        Nr	r
r	r	rrGszDecorationTest.nameCollisionN)
rrrrrrrrZtest_renamedDecoratorrr	r	r	rr/src@seZdZdd�Zdd�ZdS)�
PyunitTestcCsdSrr	r
r	r	rr
QszPyunitTest.test_foocCsdSrr	r
r	r	rrUszPyunitTest.test_barNrr	r	r	rr Nsr c@seZdZdd�ZdS)�NotATestcCsdSrr	r
r	r	rr
]szNotATest.test_fooN)rrrr
r	r	r	rr!Zsr!c@s$eZdZdd�Zdd�Zdd�ZdS)�AlphabetTestcCsdSrr	r
r	r	r�test_aeszAlphabetTest.test_acCsdSrr	r
r	r	r�test_biszAlphabetTest.test_bcCsdSrr	r
r	r	r�test_cmszAlphabetTest.test_cN)rrrr#r$r%r	r	r	rr"bsr")�__doc__Z
__future__rrrZpyunitZ
twisted.trialZtwisted.python.utilrZSynchronousTestCaserrrrZTestCaser �objectr!r"r	r	r	r�<module>s