code: def test_string_interpolation_with_double_percent_in_string(self):
      def fn(arg1: str):
          return "%s in template %%" % arg1
  
      self.checkScript(fn, ("foo",))
  
imports: import os
  import sys
  import torch
  from typing import List
  from torch.testing._internal.jit_utils import JitTestCase
label_desc: Use image node_id 4 for calling the TestStringFormatting obj's underlying member method code with example usage: obj.test_string_interpolation_with_double_percent_in_string() and returns: unknown