Skip to content

[3.9] bpo-46426: Improve tests for the dir_fd argument (GH-30668)#30757

Merged
serhiy-storchaka merged 1 commit intopython:3.9from
serhiy-storchaka:backport-54610bb-3.9
Jan 24, 2022
Merged

[3.9] bpo-46426: Improve tests for the dir_fd argument (GH-30668)#30757
serhiy-storchaka merged 1 commit intopython:3.9from
serhiy-storchaka:backport-54610bb-3.9

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jan 21, 2022

Ensure that directory file descriptors refer to directories different
from the current directory, and that src_dir_fd and dst_dir_fd refer
to different directories.

Add context manager open_dir_fd() in test.support.os_helper..
(cherry picked from commit 54610bb)

https://bugs.python.org/issue46426

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants