Skip to content

Commit

Permalink
Update tests/async_tests/test_interfaces.py
Browse files Browse the repository at this point in the history
Co-authored-by: Florimond Manca <[email protected]>
  • Loading branch information
cdeler and florimondmanca authored Oct 17, 2020
1 parent c69e392 commit dfc2c59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/async_tests/test_interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@ async def test_proxy_socket_does_not_leak_when_the_connection_hasnt_been_added_t
pass

# have to filter out https://github.com/encode/httpx/issues/825 from other tests
warnings_list = [
warnings = [
*filter(lambda warn: "asyncio" not in warn.filename, recorded_warnings.list)
]

assert len(warnings_list) == 0
assert len(warnings) == 0


@pytest.mark.anyio
Expand Down

0 comments on commit dfc2c59

Please sign in to comment.