code: def test_custom2():
      # Makes the parser parse commas as the decimal separator instead of dots
  
      parser = init_custom_parser(modification2, CustomTransformer)
  
      with raises(lark.exceptions.UnexpectedCharacters):
          # Asserting that the default parser cannot parse numbers which have commas as
          # the decimal separator
          parse_latex_lark("100,1")
          parse_latex_lark("0,009")
  
      parser.doparse("100,1")
      parser.doparse("0,009")
      parser.doparse("2,71828")
      parser.doparse("3,14159")
  
file_path: sympy/sympy/parsing/tests/test_custom_latex.py
imports: import os
  import tempfile
  import sympy
  from sympy.testing.pytest import raises
  from sympy.parsing.latex.lark import LarkLaTeXParser, TransformToSymPyExpr, parse_latex_lark
  from sympy.external import import_module
label_desc: Use image node_id 3 for calling a global function with example usage: test_custom2() without return types