code: def test_invalid_syntax_errors_async(self):
      check_syntax_error(
          self,
          "async def f(a, b = 5, /, c): pass",
          "parameter without a default follows parameter with a default",
      )
      check_syntax_error(
          self,
          "async def f(a = 5, b, /, c): pass",
          "parameter without a default follows parameter with a default",
      )
      check_syntax_error(
          self,
          "async def f(a = 5, b=1, /, c, d=2): pass",
          "parameter without a default follows parameter with a default",
      )
      check_syntax_error(
          self,
          "async def f(a = 5, b, /): pass",
          "parameter without a default follows parameter with a default",
      )
      check_syntax_error(
          self,
          "async def f(a, /, b = 5, c): pass",
          "parameter without a default follows parameter with a default",
      )
      check_syntax_error(self, "async def f(*args, /): pass")
      check_syntax_error(self, "async def f(*args, a, /): pass")
      check_syntax_error(self, "async def f(**kwargs, /): pass")
      check_syntax_error(self, "async def f(/, a = 1): pass")
      check_syntax_error(self, "async def f(/, a): pass")
      check_syntax_error(self, "async def f(/): pass")
      check_syntax_error(self, "async def f(*, a, /): pass")
      check_syntax_error(self, "async def f(*, /, a): pass")
      check_syntax_error(
          self,
          "async def f(a, /, a): pass",
          "duplicate argument 'a' in function definition",
      )
      check_syntax_error(
          self,
          "async def f(a, /, *, a): pass",
          "duplicate argument 'a' in function definition",
      )
      check_syntax_error(self, "async def f(a, b/2, c): pass")
      check_syntax_error(self, "async def f(a, /, c, /): pass")
      check_syntax_error(self, "async def f(a, /, c, /, d): pass")
      check_syntax_error(self, "async def f(a, /, c, /, d, *, e): pass")
      check_syntax_error(self, "async def f(a, *, c, /, d, e): pass")
  
imports: import dis
  import pickle
  import unittest
  from test.support import check_syntax_error
label_desc: Use image node_id 3 for calling the PositionalOnlyTestCase obj's underlying member method code with example usage: obj.test_invalid_syntax_errors_async() without return types