Exemple #1
0
def test_config():
    codec = VLenUTF8()
    check_config(codec)
Exemple #2
0
def test_config():
    codec = Pickle(protocol=-1)
    check_config(codec)
    for codec in codecs:
        check_config(codec)
Exemple #3
0
def test_config():
    codec = LZMA(preset=1,
                 format=_lzma.FORMAT_XZ,
                 check=_lzma.CHECK_NONE,
                 filters=None)
    check_config(codec)
Exemple #4
0
def test_config():
    codec = Categorize(labels=labels, dtype='U4')
    check_config(codec)
Exemple #5
0
def test_config():
    codec = Delta(dtype='<i4', astype='<i2')
    check_config(codec)
Exemple #6
0
def test_config():
    codec = GZip(level=3)
    check_config(codec)
Exemple #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)
Exemple #9
0
def test_config():
    for codec in [default_codec, legacy_codec]:
        check_config(codec)
Exemple #10
0
def test_config():
    check_config(MsgPack())
Exemple #11
0
def test_config():
    codec = PackBits()
    check_config(codec)
Exemple #12
0
def test_config():
    codec = VLenArray('<i8')
    check_config(codec)
Exemple #13
0
def test_config():
    codec = MsgPack()
    check_config(codec)
Exemple #14
0
def test_config():
    codec = VLenBytes()
    check_config(codec)
Exemple #15
0
def test_config():
    for codec in codecs:
        check_config(codec)
Exemple #16
0
def test_config():
    codec = Zlib(level=3)
    check_config(codec)
Exemple #17
0
def test_config():
    codec = BZ2(level=3)
    check_config(codec)
Exemple #18
0
def test_config():
    encode_dtype, decode_dtype = '<i4', '<i8'
    codec = AsType(encode_dtype=encode_dtype, decode_dtype=decode_dtype)
    check_config(codec)
Exemple #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)
Exemple #20
0
def test_config():
    codec = jpeg(quality=50)
    check_config(codec)