code: def _invalid_syntax(self, code):
      with pytest.raises(parso.ParserSyntaxError):
          module = parso.parse(
              code, version=self.version, error_recovery=False
          )
          # For debugging
          print(module.children)
  
imports: import re
  import tempfile
  import shutil
  import logging
  import os
  from pathlib import Path
  import pytest
  import yatest.common
  import parso
  from parso import cache
  from parso.utils import parse_version_string
label_desc: Use image node_id 3 for calling the Checker obj's underlying member method code with example usage: obj._invalid_syntax(code) without return types