]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
pathlib tests: annotate tests needing symlinks with decorator (#114625)
authorBarney Gale <barney.gale@gmail.com>
Fri, 26 Jan 2024 22:29:28 +0000 (22:29 +0000)
committerGitHub <noreply@github.com>
Fri, 26 Jan 2024 22:29:28 +0000 (22:29 +0000)
commit7a9727e10c14a82e8e20f5b85e368a6f937db203
treea195b05685ff1a39e42177477ce643026496f8ff
parentb5c7c84673b96bfdd7c877521a970f7a4beafece
pathlib tests: annotate tests needing symlinks with decorator (#114625)

Add `@needs_symlinks` decorator for tests that require symlink support in
the path class.

Also add `@needs_windows` and `@needs_posix` decorators for tests that
require a specific a specific path flavour. These aren't much used yet, but
will be later.
Lib/test/test_pathlib/test_pathlib.py
Lib/test/test_pathlib/test_pathlib_abc.py