Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/twisted/trial/test/__pycache__/ |
Upload File : |
o �b� � @ sJ d Z ddlmZmZ G dd� d�ZG dd� dee�ZG dd� dee�Zd S ) zm Direct unit tests for L{twisted.trial.unittest.SynchronousTestCase} and L{twisted.trial.unittest.TestCase}. � )�SynchronousTestCase�TestCasec @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) � TestCaseMixinz L{TestCase} tests. c C s | � d�| _| � d�| _dS )z� Create a couple instances of C{MyTestCase}, each for the same test method, to be used in the test methods of this class. �test_1N)� MyTestCase�first�second��self� r �B/usr/lib/python3/dist-packages/twisted/trial/test/test_testcase.py�setUp s zTestCaseMixin.setUpc C s: | � | j| jk� | � | j| jk� | �| j| jk� dS )z� In order for one test method to be runnable twice, two TestCase instances with the same test method name must not compare as equal. N)� assertTruer r �assertFalser r r r � test_equality s zTestCaseMixin.test_equalityc C s, i }d|| j <