Skip to content

Commit ff1d626

Browse files
committed
Fix again..
1 parent fa71f76 commit ff1d626

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

opentelemetry-sdk/tests/shared_internal/test_batch_processor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import time
1919
import unittest
2020
from concurrent.futures import ThreadPoolExecutor
21-
from platform import python_implementation
21+
from platform import system
2222
from sys import version_info
2323
from unittest.mock import Mock
2424

@@ -128,8 +128,8 @@ def test_force_flush_flushes_telemetry(
128128
exporter.export.assert_called_once_with([telemetry for _ in range(10)])
129129

130130
@mark.skipif(
131-
python_implementation() == "PyPy" and version_info < (3, 9),
132-
reason="This test randomly fails with on PyPy3.8.",
131+
system() == "Windows" or version_info < (3, 9),
132+
reason="This test randomly fails on windows and python 3.8.",
133133
)
134134
def test_with_multiple_threads(self, batch_processor_class, telemetry):
135135
exporter = Mock()

0 commit comments

Comments
 (0)