human
I wrote the below code

    class foo:
        def __getslice__(self, i, j):
            return 42
        def __getitem__(self, index):
            return 23
    AreEqual(foo()[::None], 23)
    AreEqual(foo()[::None], 23)

What's a good function header?
assistant
#Here's a good function header.

def test_slice_getslice_forbidden():