Skip to content

Commit

Permalink
Skip test that fails randomly on PyPy.
Browse files Browse the repository at this point in the history
Fix #1314.
  • Loading branch information
aaugustin committed Mar 29, 2023
1 parent 09875a6 commit 25a5252
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/sync/test_connection.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import contextlib
import logging
import platform
import socket
import sys
import threading
Expand Down Expand Up @@ -465,6 +466,10 @@ def test_close_idempotency(self):
self.connection.close()
self.assertNoFrameSent()

@unittest.skipIf(
platform.python_implementation() == "PyPy",
"this test fails randomly due to a bug in PyPy", # see #1314 for details
)
def test_close_idempotency_race_condition(self):
"""close waits if the connection is already closing."""

Expand Down

0 comments on commit 25a5252

Please sign in to comment.