Skip to content

Commit 852ff3e

Browse files
authored
Updated test_linalg.py to adapt of setUpClass/tearDownClass
1 parent 20c7a39 commit 852ff3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_linalg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@ def get_tunableop_untuned_filename():
109109

110110
class TestLinalg(TestCase):
111111
def setUp(self):
112-
super(self.__class__, self).setUp()
112+
super().setUp()
113113
torch.backends.cuda.matmul.allow_tf32 = False
114114

115115
def tearDown(self):
116116
torch.backends.cuda.matmul.allow_tf32 = True
117-
super(self.__class__, self).tearDown()
117+
super().tearDown()
118118

119119
@contextlib.contextmanager
120120
def _tunableop_ctx(self):

0 commit comments

Comments
 (0)