File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
instrumentation-genai/opentelemetry-instrumentation-google-genai/tests/utils Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -206,6 +206,7 @@ def test_flatten_with_mixed_structures():
206206 "foo.pydantic.int_value" : 123 ,
207207 }
208208
209+
209210def test_converts_tuple_with_json_fallback ():
210211 input_dict = {
211212 "foo" : ("abc" , 123 ),
@@ -217,6 +218,7 @@ def test_converts_tuple_with_json_fallback():
217218 "foo[1]" : 123 ,
218219 }
219220
221+
220222def test_converts_tuple_with_json_fallback ():
221223 input_dict = {
222224 "foo" : ("abc" , 123 ),
@@ -228,6 +230,7 @@ def test_converts_tuple_with_json_fallback():
228230 "foo[1]" : 123 ,
229231 }
230232
233+
231234def test_json_conversion_handles_unicode ():
232235 input_dict = {
233236 "foo" : ("❤️" , 123 ),
@@ -239,6 +242,7 @@ def test_json_conversion_handles_unicode():
239242 "foo[1]" : 123 ,
240243 }
241244
245+
242246def test_flatten_with_complex_object_not_json_serializable ():
243247 result = dict_util .flatten_dict (
244248 {
You can’t perform that action at this time.
0 commit comments