MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_get_extended_length_path_str

Function test_get_extended_length_path_str

testing/test_pathlib.py:370–374  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

368
369
370def test_get_extended_length_path_str() -> None:
371 assert get_extended_length_path_str(r"c:\foo") == r"\\?\c:\foo"
372 assert get_extended_length_path_str(r"\\share\foo") == r"\\?\UNC\share\foo"
373 assert get_extended_length_path_str(r"\\?\UNC\share\foo") == r"\\?\UNC\share\foo"
374 assert get_extended_length_path_str(r"\\?\c:\foo") == r"\\?\c:\foo"
375
376
377def test_suppress_error_removing_lock(tmp_path: Path) -> None:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected