cpython/Lib/test/test_pathlib
Barney Gale d716ea34cb
GH-128520: pathlib ABCs: validate magic_open() arguments (#131617)
When `pathlib._os.magic_open()` is called to open a path in binary mode,
raise `ValueError` if any of the *encoding*, *errors* or *newline*
arguments are given. This matches the `open()` built-in.
2025-03-24 15:13:18 +00:00
..
support GH-128520: pathlib ABCs: allow tests to be run externally (#131315) 2025-03-21 22:18:20 +00:00
__init__.py
test_copy.py GH-128520: pathlib ABCs: allow tests to be run externally (#131315) 2025-03-21 22:18:20 +00:00
test_join.py GH-128520: pathlib ABCs: allow tests to be run externally (#131315) 2025-03-21 22:18:20 +00:00
test_join_posix.py GH-128520: pathlib ABCs: allow tests to be run externally (#131315) 2025-03-21 22:18:20 +00:00
test_join_windows.py GH-128520: pathlib ABCs: allow tests to be run externally (#131315) 2025-03-21 22:18:20 +00:00
test_pathlib.py GH-123599: Deprecate duplicate pathname2url() implementation (#127380) 2025-03-20 00:54:36 +00:00
test_read.py GH-128520: pathlib ABCs: validate magic_open() arguments (#131617) 2025-03-24 15:13:18 +00:00
test_write.py GH-128520: pathlib ABCs: validate magic_open() arguments (#131617) 2025-03-24 15:13:18 +00:00