diff --git a/tools/test_idf_py/test_idf_py.py b/tools/test_idf_py/test_idf_py.py index b8c145e7e1..277dd78a4e 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