[rh:urllib] Do not read after close (#15049)

Fix regression introduced in 5767fb4ab1

Closes #15017
Authored by: bashonly
This commit is contained in:
bashonly
2025-11-16 13:07:48 -06:00
committed by GitHub
parent 23f1ab3469
commit 6ee6a6fc58
3 changed files with 36 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ TEST_DIR = os.path.dirname(os.path.abspath(__file__))
pytestmark = pytest.mark.handler_flaky(
'Websockets',
os.name != 'nt' and sys.implementation.name == 'pypy',
os.name == 'nt' or sys.implementation.name == 'pypy',
reason='segfaults',
)