From 852ff3e41b8b5b66588d14927ce991a41b0d7e2b Mon Sep 17 00:00:00 2001 From: BL <110066325+BLOrange-AMD@users.noreply.github.com> Date: Wed, 15 Oct 2025 11:34:46 -0500 Subject: [PATCH] Updated test_linalg.py to adapt of setUpClass/tearDownClass --- test/test_linalg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_linalg.py b/test/test_linalg.py index 3fb6c8696c00a..f5aed1202a1b3 100644 --- a/test/test_linalg.py +++ b/test/test_linalg.py @@ -109,12 +109,12 @@ def get_tunableop_untuned_filename(): class TestLinalg(TestCase): def setUp(self): - super(self.__class__, self).setUp() + super().setUp() torch.backends.cuda.matmul.allow_tf32 = False def tearDown(self): torch.backends.cuda.matmul.allow_tf32 = True - super(self.__class__, self).tearDown() + super().tearDown() @contextlib.contextmanager def _tunableop_ctx(self):