aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_helpers.py')
-rw-r--r--tests/test_helpers.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/test_helpers.py b/tests/test_helpers.py
index 7894e104a..fe39df308 100644
--- a/tests/test_helpers.py
+++ b/tests/test_helpers.py
@@ -395,11 +395,3 @@ class MockObjectTests(unittest.TestCase):
coroutine = async_mock()
self.assertTrue(inspect.iscoroutine(coroutine))
self.assertIsNotNone(asyncio.run(coroutine))
-
- def test_async_test_decorator_allows_synchronous_call_to_async_def(self):
- """Test if the `async_test` decorator allows an `async def` to be called synchronously."""
- @helpers.async_test
- async def kosayoda():
- return "return value"
-
- self.assertEqual(kosayoda(), "return value")