Skip to content

Commit 2e6fe14

Browse files
authored
fix rounding
1 parent 86be8a6 commit 2e6fe14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opentelemetry-sdk/tests/trace/export/test_export.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ def test_batch_span_processor_scheduled_delay(self):
483483
export_time = time.time()
484484
self.assertEqual(len(spans_names_list), 1)
485485
# call round to avoid flaky tests on pypy with delays ending some microseconds earlier
486-
self.assertGreaterEqual(round(export_time - start_time) * 1e3, 500)
486+
self.assertGreaterEqual(round((export_time - start_time) * 1e3), 500)
487487

488488
span_processor.shutdown()
489489

0 commit comments

Comments
 (0)