def METHOD_NAME(self):
    # more than 255 positional arguments, should compile ok
    fundef = "def f(%s):\n  pass\n" % ', '.join('i%d' % i for i in range(300))
    compile(fundef, "<test>", "single")
    # more than 255 keyword-only arguments, should compile ok
    fundef = "def f(*, %s):\n  pass\n" % ', '.join('i%d' % i for i in range(300))
    compile(fundef, "<test>", "single")