Skip to content

Commit

Permalink
Skip if 3.7 or pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Nov 3, 2023
1 parent 22a058c commit 2d010b3
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
from timeit import default_timer
from urllib import request
from urllib.parse import urlencode
from pytest import mark
from platform import python_implementation
from sys import version_info

import httpretty

Expand Down Expand Up @@ -185,6 +188,10 @@ def test_basic_metric_request_not_empty(self):
),
)

@mark.skipif(
python_implementation() == "PyPy" or version_info.minor == 7,
resason="Fails randomly in 3.7 and pypy"
)
def test_metric_uninstrument(self):
with request.urlopen(self.URL):
metrics = self.get_sorted_metrics()
Expand Down

0 comments on commit 2d010b3

Please sign in to comment.