(input_path, expected_head_and_tail)
| 431 | ], |
| 432 | ) |
| 433 | def test_xsplit(input_path, expected_head_and_tail): |
| 434 | output_path, tail = xsplit(input_path) |
| 435 | expected_path, expected_tail = expected_head_and_tail |
| 436 | output_path = _readd_double_slash_removed_by_path(Path(output_path).as_posix()) |
| 437 | expected_path = _readd_double_slash_removed_by_path(Path(expected_path).as_posix()) |
| 438 | assert output_path == expected_path |
| 439 | assert tail == expected_tail |
| 440 | |
| 441 | |
| 442 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected