Skip to content

Commit 3d2dcc6

Browse files
committed
Only running tests that don't use real sockets got broken.
1 parent 0da2722 commit 3d2dcc6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_mocket.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ def test_patch(
222222

223223

224224
@pytest.mark.skipif(not psutil.POSIX, reason="Uses a POSIX-only API to test")
225+
@pytest.mark.skipif('os.getenv("SKIP_TRUE_HTTP", False)')
225226
@pytest.mark.asyncio
226227
async def test_no_dangling_fds():
227228
url = "http://httpbin.local/ip"

0 commit comments

Comments
 (0)