code: def _jython_aware_splitext(path):
      if path.lower().endswith("$py.class"):
          return path[:-9]
      return os.path.splitext(path)[0]
  
imports: import os
  import re
  import sys
  import traceback
  import types
  import functools
  import warnings
  from fnmatch import fnmatch, fnmatchcase
  from .None import case, suite, util
label_desc: Use image node_id 5 for calling a global function with example usage: _jython_aware_splitext(path) and returns: os, path