diff --git a/tests/test_asyncio.py b/tests/test_asyncio.py index b6a8fd76..a6f690db 100644 --- a/tests/test_asyncio.py +++ b/tests/test_asyncio.py @@ -15,17 +15,3 @@ async def frozen_coroutine(): assert datetime.date.today() == datetime.date(1970, 1, 1) asyncio.new_event_loop().run_until_complete(frozen_coroutine()) - - -def test_time_freeze_async_def(): - try: - exec('async def foo(): pass') - except SyntaxError: - raise SkipTest('async def not supported') - else: - exec(dedent(''' - @freeze_time('1970-01-01') - async def frozen_coroutine(): - assert datetime.date.today() == datetime.date(1970, 1, 1) - asyncio.new_event_loop().run_until_complete(frozen_coroutine()) - '''))