/usr/lib/python3/dist-packages/testtools/deferredruntest.py is in python3-testtools 2.3.0-3ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # Copyright (c) 2016 testtools developers. See LICENSE for details.
"""Backwards compatibility for testtools.twistedsupport."""
__all__ = [
'AsynchronousDeferredRunTest',
'AsynchronousDeferredRunTestForBrokenTwisted',
'SynchronousDeferredRunTest',
'assert_fails_with',
]
from .twistedsupport import (
AsynchronousDeferredRunTest,
AsynchronousDeferredRunTestForBrokenTwisted,
SynchronousDeferredRunTest,
assert_fails_with,
)
# Never explicitly exported but had public names:
from .twistedsupport import (
CaptureTwistedLogs,
flush_logged_errors,
)
from .twistedsupport._runtest import (
run_with_log_observers,
UncleanReactorError,
)
|