File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
exporter/opentelemetry-exporter-otlp-json-common/tests Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 4141 set_span_in_context ,
4242)
4343
44- # ---------------------------------------------------------------------------
45- # Shared constants
46- # ---------------------------------------------------------------------------
47-
4844TRACE_ID = 0x3E0C63257DE34C926F9EFCD03927272E
4945SPAN_ID = 0x34BF92DEEFC58C92
5046PARENT_SPAN_ID = 0x1111111111111111
@@ -60,11 +56,11 @@ def _is_none_equivalent(val_a, val_b):
6056 and the other is the empty/zero default for that type.
6157
6258 Only None and type-matching empty defaults are considered equivalent:
63- None = = [] (empty list)
64- None = = "" (empty string)
65- None = = b"" (empty bytes)
66- None = = 0 (zero int)
67- None = = 0.0 (zero float)
59+ None ~ = [] (empty list)
60+ None ~ = "" (empty string)
61+ None ~ = b"" (empty bytes)
62+ None ~ = 0 (zero int)
63+ None ~ = 0.0 (zero float)
6864 """
6965 if val_a is None and val_b is None :
7066 return True
You can’t perform that action at this time.
0 commit comments