Skip to content

Commit

Permalink
Adjust test to be explicitly little-endian
Browse files Browse the repository at this point in the history
  • Loading branch information
mhvk committed Jul 12, 2020
1 parent c9debb8 commit 782c0b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions baseband/asp/tests/test_asp.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ def test_block_header(self):
assert header2 == header

pattern, mask = header.invariant_pattern()
assert_array_equal(pattern, np.atleast_1d(header.words).view('u4'))
assert_array_equal(pattern, np.atleast_1d(header.words).view('<u4'))
assert_array_equal(mask, np.array([-1, -1] + [0]*8 + [-1],
dtype='i4').view('u4'))
dtype='<i4').view('<u4'))

def test_file_header(self):
header = self.file_header
Expand Down

0 comments on commit 782c0b1

Please sign in to comment.