void () { // PY-1330 runWithLanguageLevel( LanguageLevel.PYTHON34, () -> { final PyFunction pyFunction = assertResolvesTo(PyFunction.class, "foo"); assertEquals("A", pyFunction.getContainingClass().getName()); } ); }