From a3281516c4dff31dfd9b5f0b3f6a9667c7b5a645 Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Wed, 27 Aug 2025 13:57:03 +0200 Subject: [PATCH] test: stop patching env vars by tearDownClass --- tools/test_idf_py/test_idf_py.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/test_idf_py/test_idf_py.py b/tools/test_idf_py/test_idf_py.py index b8c145e7e13..277dd78a4ec 100755 --- a/tools/test_idf_py/test_idf_py.py +++ b/tools/test_idf_py/test_idf_py.py @@ -48,6 +48,11 @@ class TestWithoutExtensions(TestCase): super().setUpClass() + @classmethod + def tearDownClass(cls): + cls.env_patcher.stop() + super().tearDownClass() + class TestExtensions(TestWithoutExtensions): @classmethod