We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22a058c commit 0cce179Copy full SHA for 0cce179
instrumentation/opentelemetry-instrumentation-urllib/tests/test_metrics_instrumentation.py
@@ -16,6 +16,9 @@
16
from timeit import default_timer
17
from urllib import request
18
from urllib.parse import urlencode
19
+from pytest import mark
20
+from platform import python_implementation
21
+from sys import version_info
22
23
import httpretty
24
@@ -185,6 +188,10 @@ def test_basic_metric_request_not_empty(self):
185
188
),
186
189
)
187
190
191
+ @skipif(
192
+ python_implementation() == "PyPy" or version_info.minor == 7,
193
+ resason"Fails randomly in 3.7 and pypy"
194
+ )
195
def test_metric_uninstrument(self):
196
with request.urlopen(self.URL):
197
metrics = self.get_sorted_metrics()
0 commit comments