[tests] cleanup: remove unnecessary clearField calls

This isn't needed since we call it in UsefulTestCase::tearDown.

GitOrigin-RevId: 9edcc484b5adc310b73c82b4faab5bd758f509dc
This commit is contained in:
Nikolay Chashnikov
2020-04-24 07:51:29 +00:00
committed by intellij-monorepo-bot
parent 7a210721b5
commit 53f05d4976
2 changed files with 1 additions and 7 deletions
@@ -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 <T> void registerExtension(@NotNull ExtensionPointName<T> extensionPointName, @NotNull T extension) {
@@ -277,7 +277,6 @@ public abstract class PyTestCase extends UsefulTestCase {
}
finally {
super.tearDown();
clearFields(this);
}
}