def test_is_encodable_returns_true_for_random_valid_tuple_values(type_and_value): _type, value = type_and_value assert is_encodable_packed(_type, value)
def test_is_encodable_returns_false(type_str, python_value): assert not is_encodable_packed(type_str, python_value)
def test_is_encodable_returns_true(type_str, python_value, _1, _2): assert is_encodable_packed(type_str, python_value)