Searched refs:verify_raw_to_num_error (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/scripts/dts/python-devicetree/tests/ |
D | test_dtlib.py | 1883 def verify_raw_to_num_error(fn, data, length, msg): function 1901 verify_raw_to_num_error(dtlib.to_num, 0, 0, "'0' has type 'int', expected 'bytes'") 1902 verify_raw_to_num_error(dtlib.to_num, b"", 0, "'length' must be greater than zero, was 0") 1903 verify_raw_to_num_error(dtlib.to_num, b"foo", 2, "b'foo' is 3 bytes long, expected 2") 1904 verify_raw_to_num_error(dtlib.to_nums, 0, 0, "'0' has type 'int', expected 'bytes'") 1905 verify_raw_to_num_error(dtlib.to_nums, b"", 0, "'length' must be greater than zero, was 0") 1906 …verify_raw_to_num_error(dtlib.to_nums, b"foooo", 2, "b'foooo' is 5 bytes long, expected a length t…
|