void () { myFixture.enableInspections(PyDeprecationInspection.class); myFixture.copyDirectoryToProject("deprecation/deprecatedElementInPyi", ""); myFixture.configureByFile("a.py"); myFixture.checkHighlighting(true, false, false); }