File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11"""Testing the Decorators that check a functions input or output."""
22
3+ import asyncio
34import pickle
45import typing
5- from asyncio import AbstractEventLoop
66
77import numpy as np
88import pandas as pd
@@ -1095,7 +1095,7 @@ def star_args_kwargs(
10951095 pd .testing .assert_frame_equal (expected , actual )
10961096
10971097
1098- def test_coroutines (event_loop : AbstractEventLoop ) -> None :
1098+ def test_coroutines () -> None :
10991099 # pylint: disable=missing-class-docstring,too-few-public-methods,missing-function-docstring
11001100 class Schema (DataFrameModel ):
11011101 col1 : Series [int ]
@@ -1192,7 +1192,7 @@ async def check_coros() -> None:
11921192 with pytest .raises (errors .SchemaError ):
11931193 await coro (bad_df )
11941194
1195- event_loop .run_until_complete (check_coros ())
1195+ asyncio . get_event_loop () .run_until_complete (check_coros ())
11961196
11971197
11981198class Schema (DataFrameModel ):
You can’t perform that action at this time.
0 commit comments