Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/twisted/trial/test/__pycache__/test_testcase.cpython-39.pyc
Ðазад
a k�h� � @ 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 ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-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)Z assertTruer r ZassertFalser r r r � test_equality s zTestCaseMixin.test_equalityc C s, i }d|| j <