diff --git a/platform/testFramework/src/com/intellij/testFramework/PlatformLiteFixture.java b/platform/testFramework/src/com/intellij/testFramework/PlatformLiteFixture.java index 8fa9c7778dfd..0a8f8c04f293 100644 --- a/platform/testFramework/src/com/intellij/testFramework/PlatformLiteFixture.java +++ b/platform/testFramework/src/com/intellij/testFramework/PlatformLiteFixture.java @@ -42,12 +42,7 @@ public abstract class PlatformLiteFixture extends UsefulTestCase { @Override protected void tearDown() throws Exception { myProject = null; - try { - super.tearDown(); - } - finally { - clearFields(this); - } + super.tearDown(); } protected void registerExtension(@NotNull ExtensionPointName extensionPointName, @NotNull T extension) { diff --git a/python/testSrc/com/jetbrains/python/fixtures/PyTestCase.java b/python/testSrc/com/jetbrains/python/fixtures/PyTestCase.java index 7ce35cf0014a..5fd471cbb4f9 100644 --- a/python/testSrc/com/jetbrains/python/fixtures/PyTestCase.java +++ b/python/testSrc/com/jetbrains/python/fixtures/PyTestCase.java @@ -277,7 +277,6 @@ public abstract class PyTestCase extends UsefulTestCase { } finally { super.tearDown(); - clearFields(this); } }