diff options
| author | s-ol <s+removethis@s-ol.nu> | 2021-05-25 13:42:02 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2021-05-25 13:42:02 +0000 |
| commit | 12ca589a55376687c13d2298392ca5ddb344a219 (patch) | |
| tree | d53f03557db0072eeeb8c0433fbe5444be4510e7 /pack.py | |
| parent | use new bits in format.py (diff) | |
| download | subv-12ca589a55376687c13d2298392ca5ddb344a219.tar.gz subv-12ca589a55376687c13d2298392ca5ddb344a219.zip | |
update all stages to work
Diffstat (limited to 'pack.py')
| -rwxr-xr-x | pack.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -19,7 +19,7 @@ Packs bitfields tagged with their size into untagged bytes. ... 23/7 00/5 02/3 05/5 06/5 00/7 ... 13/7 06/5 00/3 00/5 0a/12 ... 23/7 00/5 02/3 05/5 06/5 00/7 -... 6f/7 00/5 ff/8 01/1 3e6/10 01/1 +... 6f/7 00/5 ff/8 1/1 3e6/10 1/1 ... '''[1:-1])))) == code 0x80000000 b7 02 01 10 @@ -51,7 +51,7 @@ def byteify(word): >>> byteify(bits.Bitfield(0x13, 9)), Traceback (most recent call last): ... - AssertionError: not byte aligned: 0x13'9 + AssertionError: not byte aligned: 013/9 """ assert word.size % 8 == 0, "not byte aligned: {}".format(word) |
