]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-73991: pathlib ABC tests: add `DummyPath.unlink()` and `rmdir()` (#120715)
authorBarney Gale <barney.gale@gmail.com>
Tue, 18 Jun 2024 22:13:45 +0000 (23:13 +0100)
committerGitHub <noreply@github.com>
Tue, 18 Jun 2024 22:13:45 +0000 (22:13 +0000)
commit9f741e55c16376412c1473aa45b94314c00a0c43
treeb50b499a852965ab21923a96c0561fe2afbae4fa
parentb7f478948fcf3bf8e62c79ebcb3ff69bf06d9c4d
GH-73991: pathlib ABC tests: add `DummyPath.unlink()` and `rmdir()` (#120715)

In preparation for the addition of `PathBase.rmtree()`, implement
`DummyPath.unlink()` and `rmdir()`, and move corresponding tests into
`test_pathlib_abc` so they're run against `DummyPath`.
Lib/test/test_pathlib/test_pathlib.py
Lib/test/test_pathlib/test_pathlib_abc.py