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 04a21e0 commit 975700aCopy full SHA for 975700a
opentelemetry-sdk/tests/metrics/integration_test/test_console_exporter.py
@@ -14,6 +14,7 @@
14
15
from io import StringIO
16
from json import loads
17
+from os import linesep
18
from unittest import TestCase
19
from unittest.mock import Mock, patch
20
@@ -117,7 +118,8 @@ def test_console_exporter_with_exemplars(self):
117
118
provider.shutdown()
119
120
output.seek(0)
- result_0 = loads("".join(output.readlines()))
121
+ joined_output = "".join(output.readlines())
122
+ result_0 = loads(joined_output.strip(linesep))
123
124
self.assertGreater(len(result_0), 0)
125
0 commit comments