Add assertion to debug CI failure.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
Keith Rothman 2020-10-05 10:11:53 -07:00
parent fc0e78a9da
commit 05d6a420f7
1 changed files with 3 additions and 1 deletions

View File

@ -46,7 +46,9 @@ def parsebit(val):
isset = False
val = val[1:]
# 28_05 => 28, 05
seg_word_column, word_bit_n = val.split('_')
parts = val.split('_')
assert len(parts) == 2, val
seg_word_column, word_bit_n = parts
return Bit(
word_column=int(seg_word_column),