-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[BE] Introduce set_cwd context manager
#49657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
💊 CI failures summary and remediationsAs of commit 5b7b5ab (more details on the Dr. CI page):
This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions to the (internal) Dr. CI Users group. This comment has been revised 14 times. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@malfet has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
5f28a5e to
abb721d
Compare
Used to temporarily change working directory, but restore it even if exception is raised Use it in test_type_hints and during code coverage collection
abb721d to
5b7b5ab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@malfet has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: Used to temporarily change working directory, but restore it even if exception is raised Use it in test_type_hints and during code coverage collection Pull Request resolved: pytorch#49657 Reviewed By: walterddr Differential Revision: D25660543 Pulled By: malfet fbshipit-source-id: 77f08d57e4b60b95daa4068d0dacf7c25f978526
Used to temporarily change working directory, but restore it even if exception is raised
Use it in test_type_hints and during code coverage collection