def METHOD_NAME(self):
    pyfunc = usecases.string_slicing
    cr = compile_isolated(pyfunc, (types.pyobject,) * 3,
                          flags=enable_pyobj_flags)
    cfunc = cr.entry_point
    test_str = '123456'
    self.assertEqual(pyfunc(test_str, 0, 3), cfunc(test_str, 0, 3))
    self.assertEqual(pyfunc(test_str, 1, 5), cfunc(test_str, 1, 5))
    self.assertEqual(pyfunc(test_str, 2, 3), cfunc(test_str, 2, 3))