Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/pandas/test_decorators.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""Testing the Decorators that check a functions input or output."""

import asyncio
import pickle
import typing
from asyncio import AbstractEventLoop

import numpy as np
import pandas as pd
Expand Down Expand Up @@ -1095,7 +1095,7 @@ def star_args_kwargs(
pd.testing.assert_frame_equal(expected, actual)


def test_coroutines(event_loop: AbstractEventLoop) -> None:
def test_coroutines() -> None:
# pylint: disable=missing-class-docstring,too-few-public-methods,missing-function-docstring
class Schema(DataFrameModel):
col1: Series[int]
Expand Down Expand Up @@ -1192,7 +1192,7 @@ async def check_coros() -> None:
with pytest.raises(errors.SchemaError):
await coro(bad_df)

event_loop.run_until_complete(check_coros())
asyncio.get_event_loop().run_until_complete(check_coros())


class Schema(DataFrameModel):
Expand Down
Loading