Home
last modified time | relevance | path

Searched refs:_serialize_value (Results 1 – 2 of 2) sorted by relevance

/third_party/PyYAML/tests/lib/
Dtest_constructor.py237 def _serialize_value(data): function
239 return '[%s]' % ', '.join(map(_serialize_value, data))
243 key = _serialize_value(key)
244 value = _serialize_value(value)
273 print(_serialize_value(native1))
275 print(_serialize_value(native2))
276 assert _serialize_value(native1) == _serialize_value(native2), (native1, native2)
Dtest_representer.py22 value1 = test_constructor._serialize_value(native1)
23 value2 = test_constructor._serialize_value(native2)