Skip to content

Commit

Permalink
add xfail
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeier committed Dec 8, 2022
1 parent 052405a commit 822f6b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,8 @@ def test_load_error_msg(self):
with self.assertRaisesRegex(AttributeError, expected_err_msg):
torch.load(resource)

# See https://github.com/pytorch/pytorch/pull/89557. Will be fixed by @kurtamohler
@unittest.expectedFailure
def test_save_different_dtype_unallocated(self):
devices = ['cpu']
if torch.cuda.is_available():
Expand Down

0 comments on commit 822f6b2

Please sign in to comment.