code: def test_async_with(works_ge_py35):
      works_ge_py35.parse("async def foo():\n async with a: pass")
  
      @pytest.mark.skipif("sys.version_info[:2] < (3, 5)")
      @pytest.mark.xfail(reason="acting like python 3.7")
      def test_async_with_invalid():
          _invalid_syntax(
              """def foo():
                                     async with a: pass""",
              version="3.5",
          )
  
imports: from textwrap import dedent
  import pytest
  from parso import load_grammar
  from parso import ParserSyntaxError
  from parso.pgen2 import generate_grammar
  from parso.python import tokenize
label_desc: Use image node_id 10 for calling a global function with example usage: test_async_with(works_ge_py35) without return types