Skip to content

Commit 1cc23e0

Browse files
authored
Use uppercase if testing in windows (open-telemetry#1484)
Fixes open-telemetry#1419
1 parent 9d0834d commit 1cc23e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

opentelemetry-api/tests/configuration/test_configuration.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414
# pylint: disable-all
1515

16+
from sys import platform
1617
from unittest import TestCase
1718
from unittest.mock import patch
1819

@@ -35,7 +36,7 @@ def test_singleton(self) -> None:
3536
{
3637
"OTEL_PYTHON_METER_PROVIDER": "meter_provider",
3738
"OTEL_PYTHON_TRACER_PROVIDER": "tracer_provider",
38-
"OTEL_OThER": "other",
39+
"OTEL_OTHER" if platform == "windows" else "OTEL_OThER": "other",
3940
"OTEL_OTHER_7": "other_7",
4041
"OPENTELEMETRY_PTHON_TRACEX_PROVIDER": "tracex_provider",
4142
},

0 commit comments

Comments
 (0)