test: stop patching env vars by tearDownClass

This commit is contained in:
Fu Hanxi
2026-03-17 21:02:49 +08:00
committed by Daniel Paul
parent 6fc4116876
commit a3281516c4
+5
View File
@@ -48,6 +48,11 @@ class TestWithoutExtensions(TestCase):
super().setUpClass()
@classmethod
def tearDownClass(cls):
cls.env_patcher.stop()
super().tearDownClass()
class TestExtensions(TestWithoutExtensions):
@classmethod