Exemple #1
0
def test_max_buffer_size():
    for codec in codecs:
        assert codec.max_buffer_size == 0x7E000000
        check_max_buffer_size(codec)
Exemple #2
0
def test_max_buffer_size():
    for codec in codecs:
        _skip_null(codec)
        assert codec.max_buffer_size == 2**31 - 1
        check_max_buffer_size(codec)