File: //lib/python3/dist-packages/twisted/trial/test/__pycache__/packages.cpython-38.pyc
U
W[� � @ s� d Z ddlmZmZ ddlZddlZddlmZ ddlm Z erNddl
mZ ndd� Zd Z
e
�d
d�ZdZd
ZG dd� de j�ZG dd� de�ZdS )zf
Classes and functions used by L{twisted.trial.test.test_util}
and L{twisted.trial.test.test_loader}.
� )�division�absolute_importN)�_PY3)�unittest)�invalidate_cachesc C s dS )zJ
On python 2, import caches don't need to be invalidated.
N� r r r �=/usr/lib/python3/dist-packages/twisted/trial/test/packages.py�invalidateImportCaches s r zv
from twisted.trial import unittest
class FooTest(unittest.SynchronousTestCase):
def testFoo(self):
pass
�
z
a�
'''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.
'''
import unittest as pyunit
from twisted.trial import unittest
class FooTest(unittest.SynchronousTestCase):
def test_foo(self):
pass
def test_bar(self):
pass
class PyunitTest(pyunit.TestCase):
def test_foo(self):
pass
def test_bar(self):
pass
class NotATest(object):
def test_foo(self):
pass
class AlphabetTest(unittest.SynchronousTestCase):
def test_a(self):
pass
def test_b(self):
pass
def test_c(self):
pass
a�
'''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.
'''
from twisted.trial import unittest
class X(object):
def test_foo(self):
pass
class A(unittest.SynchronousTestCase, X):
pass
class B(unittest.SynchronousTestCase, X):
pass
c @ s� e Zd Zddddddddefd d
efddefd
defddefgZdd� Zdd� Z dd� Z
d!dd�Zdd� Zd"dd�Z
dd � ZdS )#�PackageTest)zbadpackage/__init__.py�frotz
)zbadpackage/test_module.py� )zpackage2/__init__.pyr
)zpackage2/test_module.pyz
import frotz
)zpackage/__init__.pyr
)zpackage/frotz.pyr )zpackage/test_bad_module.pyz%raise ZeroDivisionError("fake error")zpackage/test_dos_module.py)zpackage/test_import_module.pyzimport frotzzpackage/test_module.py)zgoodpackage/__init__.pyr
zgoodpackage/test_sample.py)zgoodpackage/sub/__init__.pyr
zgoodpackage/sub/test_sample.py)zinheritancepackage/__init__.pyr
zinheritancepackage/test_x.pyc C s<