Skip to content

Commit

Permalink
don't test GC behaviour on pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
kristjanvalur authored Jul 19, 2023
1 parent 13d7b80 commit 3e47868
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_asyncio/test_connection.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import asyncio
import platform
import socket
import types
from unittest.mock import Mock, patch
Expand Down Expand Up @@ -307,6 +308,8 @@ async def test_connection_socket_cleanup(request, from_url):
"""Verify that connections are cleaned up when they
are garbage collected
"""
if platform.python_implementation() != "CPython":
pytest.skip("only works on CPython")
url: str = request.config.getoption("--redis-url")
url_args = parse_url(url)

Expand Down

0 comments on commit 3e47868

Please sign in to comment.