The Wayback Machine - https://web.archive.org/web/20201208095205/https://github.com/pytorch/pytorch/issues/46222
Skip to content
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

Use better tempfile creation mechanism to avoid skip windows test #46222

Open
walterddr opened this issue Oct 12, 2020 · 3 comments
Open

Use better tempfile creation mechanism to avoid skip windows test #46222

walterddr opened this issue Oct 12, 2020 · 3 comments

Comments

@walterddr
Copy link
Contributor

@walterddr walterddr commented Oct 12, 2020

This is a follow up on #45917 - Previously we fixed test_serialization by

  • avoiding the usage of filename in torch.save/load;
  • kept one specific test to validate both file descriptor and filename code path for torch.save/load

However per @malfet 's comment we can also abstract out temp file creation step to support the last skipped unittest on windows.

cc @mruberry @VitalyFedyunin

@walterddr walterddr changed the title Use better tempfile creation mechanism for windows test Use better tempfile creation mechanism to avoid skip windows test Oct 12, 2020
@sarahannali
Copy link

@sarahannali sarahannali commented Oct 13, 2020

Hi! Is this open for contribution?

@mruberry
Copy link
Contributor

@mruberry mruberry commented Oct 14, 2020

Hi! Is this open for contribution?

@sarahannali Yes, we would accept a PR fixing this.

@DavidKatz-il
Copy link

@DavidKatz-il DavidKatz-il commented Oct 18, 2020

Hi @sarahannali
Are you working on a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.