MCPcopy
hub / github.com/borgbackup/borg / test_bin_to_hex

Function test_bin_to_hex

src/borg/testsuite/helpers/parseformat_test.py:33–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32
33def test_bin_to_hex():
34 assert bin_to_hex(b"") == ""
35 assert bin_to_hex(b"\x00\x01\xff") == "0001ff"
36
37
38@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

bin_to_hexFunction · 0.85

Tested by

no test coverage detected