Example #1
0
def test_config():
    codec = VLenUTF8()
    check_config(codec)
Example #2
0
def test_config():
    codec = Pickle(protocol=-1)
    check_config(codec)
    for codec in codecs:
        check_config(codec)
Example #3
0
def test_config():
    codec = LZMA(preset=1,
                 format=_lzma.FORMAT_XZ,
                 check=_lzma.CHECK_NONE,
                 filters=None)
    check_config(codec)
Example #4
0
def test_config():
    codec = Categorize(labels=labels, dtype='U4')
    check_config(codec)
Example #5
0
def test_config():
    codec = Delta(dtype='<i4', astype='<i2')
    check_config(codec)
Example #6
0
def test_config():
    codec = GZip(level=3)
    check_config(codec)
Example #7
0
def test_config():
    codec = jpeg(input_shape=(10, 10), quality=50)
    check_config(codec)
def test_config():
    codec = FixedScaleOffset(dtype='<f8', astype='<i4', scale=10, offset=100)
    check_config(codec)
Example #9
0
def test_config():
    for codec in [default_codec, legacy_codec]:
        check_config(codec)
Example #10
0
def test_config():
    check_config(MsgPack())
Example #11
0
def test_config():
    codec = PackBits()
    check_config(codec)
Example #12
0
def test_config():
    codec = VLenArray('<i8')
    check_config(codec)
Example #13
0
def test_config():
    codec = MsgPack()
    check_config(codec)
Example #14
0
def test_config():
    codec = VLenBytes()
    check_config(codec)
Example #15
0
def test_config():
    for codec in codecs:
        check_config(codec)
Example #16
0
def test_config():
    codec = Zlib(level=3)
    check_config(codec)
Example #17
0
def test_config():
    codec = BZ2(level=3)
    check_config(codec)
Example #18
0
def test_config():
    encode_dtype, decode_dtype = '<i4', '<i8'
    codec = AsType(encode_dtype=encode_dtype, decode_dtype=decode_dtype)
    check_config(codec)
Example #19
0
def test_config():
    codec = Blosc(cname='zstd', clevel=3, shuffle=1)
    check_config(codec)
    codec = Blosc(cname='lz4', clevel=1, shuffle=2, blocksize=2**8)
    check_config(codec)
Example #20
0
def test_config():
    codec = jpeg(quality=50)
    check_config(codec)