Skip to content

Commit

Permalink
update tests to match #10
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Jun 24, 2013
1 parent cb5ab5e commit 1ad08eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions test/files/array/uint8_varlen_deser.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@ end += 4
(length,) = _struct_I.unpack(str[start:end])
start = end
end += length
if python3:
data = str[start:end].decode('utf-8')
else:
data = str[start:end]
data = str[start:end]
5 changes: 1 addition & 4 deletions test/files/array/uint8_varlen_deser_np.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@ end += 4
(length,) = _struct_I.unpack(str[start:end])
start = end
end += length
if python3:
data = str[start:end].decode('utf-8')
else:
data = str[start:end]
data = str[start:end]

0 comments on commit 1ad08eb

Please sign in to comment.