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