code: def test_parse_slice(s, size, start, stop, step):
      actual = parse_slice(s, size)
      assert actual == (start, stop, step)
  
file_path: funsor/test/test_ops.py
imports: import weakref
  import pytest
  from funsor import ops
  from funsor.distribution import BACKEND_TO_DISTRIBUTIONS_BACKEND
  from funsor.ops.builtin import parse_ellipsis, parse_slice
  from funsor.testing import desugar_getitem
  from funsor.util import get_backend
label_desc: Use image node_id 5 for calling a global function with example usage: test_parse_slice(s, size, start, stop, step) without return types