code: def test_py2_string_prefixes(works_in_py2):
      works_in_py2.parse("ur'1'")
      works_in_py2.parse("Ur'1'")
      works_in_py2.parse("UR'1'")
      _invalid_syntax("ru'1'", works_in_py2.version)
  
imports: from textwrap import dedent
  import pytest
  from parso import load_grammar
  from parso import ParserSyntaxError
  from parso.pgen2 import generate_grammar
  from parso.python import tokenize
label_desc: Use image node_id 46 for calling a global function with example usage: test_py2_string_prefixes(works_in_py2) without return types