()
| 26 | |
| 27 | |
| 28 | def test_dict_resolver_hex(): |
| 29 | from _pydevd_bundle.pydevd_resolver import DictResolver |
| 30 | |
| 31 | dict_resolver = DictResolver() |
| 32 | dct = {(1, 10, 100): (10000, 100000, 100000)} |
| 33 | contents_debug_adapter_protocol = clear_contents_debug_adapter_protocol( |
| 34 | dict_resolver.get_contents_debug_adapter_protocol(dct, fmt={"hex": True}) |
| 35 | ) |
| 36 | len_entry = contents_debug_adapter_protocol.pop(-1) |
| 37 | check_len_entry(len_entry, (GENERATED_LEN_ATTR_NAME, 1)) |
| 38 | assert contents_debug_adapter_protocol == [ |
| 39 | ("(0x1, 0xa, 0x64)", (10000, 100000, 100000), "[(1, 10, 100)]"), |
| 40 | ] |
| 41 | |
| 42 | |
| 43 | def test_object_resolver_simple(): |
nothing calls this directly
no test coverage detected