code: def test_repeated_kwarg():
      # python 3.9+ shows which argument is repeated
      assert (
          _get_error_list("f(q=1, q=2)", version="3.8")[0].message
          == "SyntaxError: keyword argument repeated"
      )
      assert (
          _get_error_list("f(q=1, q=2)", version="3.9")[0].message
          == "SyntaxError: keyword argument repeated: q"
      )
  
imports: import sys
  import warnings
  import pytest
  import parso
  from textwrap import dedent
  from parso._compatibility import is_pypy
  from .failing_examples import FAILING_EXAMPLES, indent, build_nested
label_desc: Use image node_id 23 for calling a global function with example usage: test_repeated_kwarg() without return types