code: def test_default_except_error_postition():
      # For this error the position seemed to be one line off, but that doesn't
      # really matter.
      code = "try: pass\nexcept: pass\nexcept X: pass"
      wanted, line_nr = _get_actual_exception(code)
      (error,) = _get_error_list(code)
      assert error.message in wanted
      assert line_nr != error.start_pos[0]
      # I think this is the better position.
      assert error.start_pos[0] == 2
  
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 8 for calling a global function with example usage: test_default_except_error_postition() without return types