test_format

Module Contents

tempdir
setup_module()
teardown_module()
scalars
basic_arrays = []
dtype
Pdescr = [['x', 'i4', [2]], ['y', 'f8', [2, 2]], ['z', 'u1']]
PbufferT = [[[3, 2], [[6.0, 4.0], [6.0, 4.0]], 8], [[4, 3], [[7.0, 5.0], [7.0, 5.0]], 9]]
Ndescr = [['x', 'i4', [2]], ['Info', [['value', 'c16'], ['y2', 'f8'], ['Info2', [['name', 'S2'], ['value', 'c16', [2]], ['y3', 'f8', [2]], ['z3', 'u4', [2]]]], ['name', 'S2'], ['z2', 'b1']]], ['color', 'S2'], ['info', [['Name', 'U8'], ['Value', 'c16']]], ['y', 'f8', [2, 2]], ['z', 'u1']]
NbufferT = [[[3, 2], [6j, 6.0, ['nn', [6j, 4j], [6.0, 4.0], [1, 2]], 'NN', True], 'cc', ['NN', 6j], [[6.0, 4.0], [6.0, 4.0]], 8], [[4, 3], [7j, 7.0, ['oo', [7j, 5j], [7.0, 5.0], [2, 1]], 'OO', False], 'dd', ['OO', 7j], [[7.0, 5.0], [7.0, 5.0]], 9]]
record_arrays
class BytesIOSRandomSize

Bases:io.BytesIO

read(self, size=None)
roundtrip(arr)
roundtrip_randsize(arr)
roundtrip_truncated(arr)
assert_equal_(o1, o2)
test_roundtrip()
test_roundtrip_randsize()
test_roundtrip_truncated()
test_long_str()
test_memmap_roundtrip()
test_compressed_roundtrip()
test_python2_python3_interoperability()
test_version_2_0()
test_version_2_0_memmap()
test_write_version()
bad_version_magic
malformed_magic
test_read_magic_bad_magic()
test_read_version_1_0_bad_magic()
test_bad_magic_args()
test_large_header()
test_bad_header()
test_large_file_support()