test: stop patching env vars by tearDownClass

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