human
I wrote the below code

    class NumpyNonZero:
        def __zero__(self):
            raise ValueError('Numpy    arrays    would    raise    and    tell    you    to    use    .any()    or    all()')
        def __bool__(self):
            raise ValueError('Numpy    arrays    would    raise    and    tell    you    to    use    .any()    or    all()')
    class NumpyLike:
        def __eq__(self, other):
            return NumpyNonZero()
        def something(self):
            pass
    x = NumpyLike()
    d = {'a': x}
    get_completion('d["a"].some', {'d': d})
    get_completion('x.some', {'x': x})

What's a good function header?

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

def test_numpy_like_non_zero():