Skip to content

Commit 0cc5400

Browse files
committed
Address review.
1 parent 76b2260 commit 0cc5400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2460,7 +2460,7 @@ def test_add_broadcast_error(self):
24602460

24612461
def test_construct_large_tensor_raises_error(self):
24622462
with self.assertRaisesRegex(RuntimeError,
2463-
r"Out of memory allocating \d* bytes"):
2463+
r"Out of memory allocating \d+ bytes"):
24642464
# When eager-mode is enabled, OOM is triggered here.
24652465
a = torch.rand(1024, 1024, 1024, 1024, 1024, device=torch_xla.device())
24662466
b = a.sum()

0 commit comments

Comments
 (0)