History for Lib/test/test_pathlib - python/cpython · GitHub

github.com

Tin mới

Test that `ValueError` is raised when `vfsopen` is passed an invalid mode (#154008)

Test that `ValueError` is raised when `vfsopen` is passed an invalid mode (#154008)

Add vfspath TypeError test (#153987)

Add vfspath TypeError test (#153987)

Re-raise unexpected exceptions instead of swallowing them in various tests (#152019)

Re-raise unexpected exceptions instead of swallowing them in various tests (#152019)

gh-86533: Make Path.mkdir parent_mode tests umask-independent (#150040)

gh-86533: Make Path.mkdir parent_mode tests umask-independent (#150040)

gh-86533: Restore os.makedirs() ability to apply *mode* recursively (GH-150011)

gh-86533: Restore os.makedirs() ability to apply *mode* recursively (GH-150011)

gh-137855: Improve import time of `pathlib` (GH-146327)

gh-137855: Improve import time of `pathlib` (GH-146327)

test_copy_dir_no_read_permission requires non root user (GH-148028)

test_copy_dir_no_read_permission requires non root user (GH-148028)

Move root user checks to test.support (#146195)

Move root user checks to test.support (#146195)

gh-143866: Verify return value of `pathlib.write_{bytes,text}` methods in tests (#143870)

gh-143866: Verify return value of `pathlib.write_{bytes,text}` methods in tests (#143870)

GH-133789: Fix unpickling of pathlib objects pickled in Python 3.13 (#133831)

GH-133789: Fix unpickling of pathlib objects pickled in Python 3.13 (#133831)

gh-139001: Fix thread-safety issue in `pathlib.Path` (gh-139066)

gh-139001: Fix thread-safety issue in `pathlib.Path` (gh-139066)

pathlib ABCs: restore `relative_to()` and `is_relative_to()` (#138853)

pathlib ABCs: restore `relative_to()` and `is_relative_to()` (#138853)

GH-128520: pathlib ABCs: improve protocol for 'openable' objects (#134101)

GH-128520: pathlib ABCs: improve protocol for 'openable' objects (#134101)

GH-128520: pathlib ABCs: tweak protocol for virtual path strings (#134104)

GH-128520: pathlib ABCs: tweak protocol for virtual path strings (#134104)

Use `test.support.is_wasm32` flag for `is_emscripten` or `is_wasi` for generic checks (GH-136815)

Use `test.support.is_wasm32` flag for `is_emscripten` or `is_wasi` for generic checks (GH-136815)

gh-133875: Remove deprecated `pathlib.PurePath.is_reserved` (#133876)

gh-133875: Remove deprecated `pathlib.PurePath.is_reserved` (#133876)

gh-127146: Emscripten: Fix pathlib glob_dotdot test (#135624)

gh-127146: Emscripten: Fix pathlib glob_dotdot test (#135624)

gh-71339: Use new assertion methods in tests (GH-129046)

gh-71339: Use new assertion methods in tests (GH-129046)

GH-128520: pathlib ABCs: add `JoinablePath.__vfspath__()` (#133437)

GH-128520: pathlib ABCs: add `JoinablePath.__vfspath__()` (#133437)

gh-133677: Fix tests when running in non-UTF-8 locale (GH-133865)

gh-133677: Fix tests when running in non-UTF-8 locale (GH-133865)

gh-118761: Add test_lazy_import for more modules (#133057)

gh-118761: Add test_lazy_import for more modules (#133057)

GH-123599: `url2pathname()`: don't call `gethostbyname()` by default (#132610)

GH-123599: `url2pathname()`: don't call `gethostbyname()` by default (#132610)

GH-128520: pathlib ABCs tests: use explicit text encoding (#133105)

GH-128520: pathlib ABCs tests: use explicit text encoding (#133105)

GH-128520: pathlib ABCs: raise text encoding warnings at correct stack level (#133051)

GH-128520: pathlib ABCs: raise text encoding warnings at correct stack level (#133051)

GH-125866: Support complete "file:" URLs in urllib (#132378)

gh-132356: Find the correct group name in test_group_no_follow_symlinks (#132357)

GH-123599: `url2pathname()`: handle authority section in file URL (#126844)

GH-128520: pathlib ABCs: validate `magic_open()` arguments (#131617)

GH-128520: pathlib ABCs: reject empty pattern in `ReadablePath.glob()` (#127343)

GH-128520: pathlib ABCs: allow tests to be run externally (#131315)

GH-123599: Deprecate duplicate `pathname2url()` implementation (#127380)

gh-131277: allow `EnvironmentVarGuard` to unset more than one environment variable at once (#131280)

GH-130614: pathlib ABCs: delete vestigial `test_pathlib_abc` module (#131215)

GH-130614: pathlib ABCs: parametrize test suite for path copying (#131168)

gh-131152: Remove unused imports from tests (part 2) (#131154)