Skip to content

Commit 555b215

Browse files
janeyx99pytorchmergebot
authored andcommittedFeb 23, 2022
super setUp call missing in TestSparse (pytorch#73217)
Summary: Should fix the fact that Sparse tests are not rightly disabled pytorch#73145 (comment) Pull Request resolved: pytorch#73217 Reviewed By: atalman Differential Revision: D34400588 Pulled By: janeyx99 fbshipit-source-id: 40ac1c56918d5c47debf962a2bd218a325626ad8 (cherry picked from commit e63dae2)
1 parent 3536158 commit 555b215

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎test/test_sparse.py

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
class TestSparse(TestCase):
4444

4545
def setUp(self):
46+
TestCase.setUp(self)
4647
self.index_tensor = lambda *args, **kwargs: torch.tensor(*args, **kwargs, dtype=torch.int64)
4748

4849
def sparse_empty_factory(*args, **kwargs):

0 commit comments

Comments
 (0)
Please sign in to comment.