Skip to content

GH-89812: Simplify creation of symlinks in pathlib tests.#106061

Merged
barneygale merged 1 commit intopython:mainfrom
barneygale:gh-89812-pathlib-tests-drop-dirlink
Jun 30, 2023
Merged

GH-89812: Simplify creation of symlinks in pathlib tests.#106061
barneygale merged 1 commit intopython:mainfrom
barneygale:gh-89812-pathlib-tests-drop-dirlink

Conversation

@barneygale
Copy link
Contributor

@barneygale barneygale commented Jun 24, 2023

Remove PathTest.dirlink() function. Symlinks in PathTest.setUp() are created using os.symlink() directly; symlinks in test functions use Path.symlink_to() in order to make the tests applicable to a (near-)future AbstractPath class.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir topic-pathlib

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants