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 1923343 commit 344cedcCopy full SHA for 344cedc
util/opentelemetry-util-genai/tests/test_upload.py
@@ -20,8 +20,9 @@
20
import threading
21
import time
22
from contextlib import contextmanager
23
+from platform import python_implementation
24
from typing import Any
-from unittest import TestCase
25
+from unittest import TestCase, skipIf
26
from unittest.mock import ANY, MagicMock, patch
27
28
import fsspec
@@ -148,6 +149,9 @@ def blocked_upload(*args: Any, **kwargs: Any):
148
149
def test_shutdown_no_items(self):
150
self.hook.shutdown()
151
152
+ @skipIf(
153
+ python_implementation().lower() == "pypy", "fails randomly on pypy"
154
+ )
155
def test_upload_then_shutdown(self):
156
self.hook.on_completion(
157
inputs=FAKE_INPUTS,
0 commit comments