void () { runTest(new SkeletonsTask() { @Override protected void runTestOn(@NotNull Sdk sdk) { EdtTestUtil.runInEdtAndWait((() -> myFixture.configureByFile(getTestName(false) + ".py"))); myFixture.enableInspections(PyUnresolvedReferencesInspection.class); EdtTestUtil.runInEdtAndWait((() -> myFixture.checkHighlighting(true, false, false))); } }); }