Skip to content

Commit 3bc86b1

Browse files
committed
Fix test warnings
1 parent a572a32 commit 3bc86b1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

setup.cfg

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ line_length = 80
1818
testpaths = tests
1919
addopts = --cov
2020

21+
[tool:pytest:ini_options]
22+
filterwarnings = [
23+
# This's triggered by pytest-asyncio,
24+
# which calls deprecated asyncio.get_event_loop() method
25+
# ref: https://github.com/pytest-dev/pytest-asyncio/issues/757
26+
"ignore:There is no current event loop",
27+
]
28+
2129
[coverage:run]
2230
source =
2331
codingame

0 commit comments

Comments
 (0)