Skip to content

Commit

Permalink
Merge pull request scipy#250 from matthew-brett/fix-bigend-zerob
Browse files Browse the repository at this point in the history
BF: fix bigend failure of zero byte test
  • Loading branch information
rgommers committed Jun 10, 2012
2 parents dc41dee + 17907ec commit d6a70b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scipy/io/matlab/tests/test_mio5_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def test_zero_byte_string():
# Tests hack to allow chars of non-zero length, but 0 bytes
# make reader-like thing
str_io = cStringIO()
r = _make_readerlike(str_io, '<')
r = _make_readerlike(str_io, boc.native_code)
c_reader = m5u.VarReader5(r)
tag_dt = np.dtype([('mdtype', 'u4'), ('byte_count', 'u4')])
tag = np.zeros((1,), dtype=tag_dt)
Expand Down

0 comments on commit d6a70b7

Please sign in to comment.