def test_convert_from_centimeters_to_inches(input_argument, expected_output):
    assert convert(input_argument, "in") == expected_output
def test_with_mixed_case_formats():
    expected = 153.67
    assert convert(60.5, "CM") == expected
def test_non_numeric_value():
    with pytest.raises(TypeError):
        convert("153.67", "in")
def test_unsupported_formats():
    with pytest.raises(ValueError):
        convert(300, "km")