Пример #1
0
def testASCII85Encode(data, expected_value):
    """ [EXPLAIN THIS.] """
    value = ASCII85Codec.encode(data)
    assert value == expected_value
    assert isinstance(value, BytesType)
Пример #2
0
def testASCII85Encode(data, expected_value):
    value = ASCII85Codec.encode(data)
    assert value == expected_value
    assert isinstance(value, bytes_type)