summaryrefslogtreecommitdiff
path: root/tests/utilities.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-07-18 13:53:40 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-07-26 10:36:53 -0700
commitd5b96fd2d39aebce0f8ca22c37aa5a3830e1d643 (patch)
tree52b96524348a4fe1ca5051ecf178b72c37661a08 /tests/utilities.py
parent408724291ccd60f6cbd56208592a49badee16770 (diff)
tests: drop remaining references to twisted from unit tests
all unittests now use asyncio and the standard unittest framework.
Diffstat (limited to 'tests/utilities.py')
-rw-r--r--tests/utilities.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/utilities.py b/tests/utilities.py
index 438cb798..43f37d35 100644
--- a/tests/utilities.py
+++ b/tests/utilities.py
@@ -179,16 +179,6 @@ def make_ui(**kwargs):
return ui
-def expected_failure(func):
- """For marking expected failures for twisted.trial based unit tests.
-
- The builtin unittest.expectedFailure does not work with twisted.trail,
- there is an outstanding bug for this, but no one has ever fixed it.
- """
- func.todo = 'expected failure'
- return func
-
-
def async_test(coro):
"""Run an asyncrounous test synchronously."""