code: def test_peephole_slice_all_three_args(self):
      def foo(x: int):
          return [1, 2, x, 4, 5, 6, 7][-5:6:2]
  
      graph = torch.jit.script(foo).graph
      self.run_pass("peephole", graph)
      FileCheck().check_not("aten::slice").run(graph)
      self.checkScript(foo, (3,))
  
imports: import torch
  from torch.testing._internal.jit_utils import JitTestCase, RUN_CUDA, _inline_everything
  from torch import nn
  from torch.testing import FileCheck
  from typing import Callable, List
  import unittest
label_desc: Use image node_id 35 for calling the TestPeephole obj's underlying member method code with example usage: obj.test_peephole_slice_all_three_args() and returns: list