code: def test_optional_tuple(self):
      def fn(x=None):
          # type: (Optional[Tuple[int, int]]) -> Tuple[int, int]
          if x is None:
              new_x = (1, 2)
          else:
              new_x = x
          return new_x
  
      self.checkScript(fn, ((3, 4),))
      self.checkScript(fn, ())
  
imports: import os
  import sys
  import torch
  from torch.testing._internal.jit_utils import JitTestCase, make_global
  from torch.testing._internal.common_utils import IS_WINDOWS
  from collections import namedtuple
  from typing import List, Tuple, Dict, NamedTuple
label_desc: Use image node_id 35 for calling the TestTyping obj's underlying member method code with example usage: obj.test_optional_tuple() and returns: new_x