void () { doTestByText(""" def func(): <weak_warning descr="Local variable 'x' value is not used">x</weak_warning> = <error descr="Unresolved reference 'unresolved'">unresolved</error> # noqa: F631 """, PyUnusedLocalInspection.class, PyUnresolvedReferencesInspection.class); }