def METHOD_NAME():
    # Test that a string works
    str_input = "../tests"
    test_str_input = convert_to_path(str_input)
    assert isinstance(test_str_input, Path)
    # Test that a pathlib.Path works
    path_input = Path("../tests")
    test_path_input = convert_to_path(path_input)
    assert isinstance(test_path_input, Path)
    # Test that both of those inputs are the same
    assert test_str_input == test_path_input
    # Test that a non-existent folder also works even though it's a valid data type
    str_input = "tests"
    test_str_input = convert_to_path(str_input)
    assert isinstance(test_str_input, Path)
    # Test that invalid data types fail
    with pytest.raises(TypeError):
        convert_to_path(1)
    with pytest.raises(TypeError):
        convert_to_path(1.2)
    with pytest.raises(TypeError):
        convert_to_path({"one": 1})
    with pytest.raises(TypeError):
        convert_to_path(["a", 1])