Skip to content

Commit d684e3e

Browse files
committed
fix: Skip test on pypy
1 parent 2d2131f commit d684e3e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/integrations/stdlib/test_httplib.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
import platform
12
import sys
3+
24
import pytest
35

46
try:
@@ -64,7 +66,8 @@ def before_breadcrumb(crumb, hint):
6466
"extra": "foo",
6567
}
6668

67-
assert sys.getrefcount(response) == 2
69+
if platform.python_implementation() != "PyPy":
70+
assert sys.getrefcount(response) == 2
6871

6972

7073
def test_httplib_misuse(sentry_init, capture_events):

0 commit comments

Comments
 (0)