@pytest.mark.parametrize(('cls', 'err', 'data'), fail_data)
def test_error(cls, err, data):
    'Check object errors when input has wrong data type.'
    do_error_test(cls, err, data)
Check object errors when input has wrong data type.
@pytest.mark.parametrize(('cls', 'err', 'data'), fail_data)
def test_error(cls, err, data):
    
    do_error_test(cls, err, data)