[test] fix python issues in tests (#4960)

This commit is contained in:
Simon Lin
2020-05-19 10:31:50 -07:00
committed by GitHub
parent 154958aab9
commit 8dbc0d9605
4 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -292,7 +292,7 @@ class VariableVector(ConvertibleToBytes):
ret = bytearray([])
while length_in_byte > 0:
ret += bytes(length_in_byte & 0xff)
length_in_byte == length_in_byte >> 8
length_in_byte = length_in_byte >> 8
return ret
@classmethod