mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[BE][2/6] fix typos in test/ (test/test_*.py) (#157636)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/157636 Approved by: https://github.com/yewentao256, https://github.com/mlazos ghstack dependencies: #156311, #156609
This commit is contained in:
committed by
PyTorch MergeBot
parent
ffe11b2bf2
commit
fc0376e8b1
@ -199,7 +199,7 @@ class TestFunctionalization(TestCase):
|
||||
y.set_(x.storage())
|
||||
return y
|
||||
|
||||
# We should probaby get the crossref test to work,
|
||||
# We should probably get the crossref test to work,
|
||||
# but fixing it for Storage() objects is annoying.
|
||||
r = _functionalize(f, reapply_views=True, crossref=False)(torch.ones(2))
|
||||
self.assertEqual(str(r.device), "cpu")
|
||||
@ -2318,7 +2318,7 @@ def forward(self, arg0_1):
|
||||
]
|
||||
)
|
||||
@unittest.skipIf(
|
||||
TEST_WITH_TORCHDYNAMO, "dynamo-ing code with proxy + fake doesnt work well"
|
||||
TEST_WITH_TORCHDYNAMO, "dynamo-ing code with proxy + fake doesn't work well"
|
||||
)
|
||||
class TestCrossRefFunctionalization(TestFunctionalization):
|
||||
crossref = True
|
||||
|
Reference in New Issue
Block a user