def METHOD_NAME(self):
    foo = Foo()
    test_array = numpy.arange(-7, 2)
    with self.assertTraitChanges(foo, "maybe_array_no_compare"):
        foo.maybe_array_no_compare = None
    with self.assertTraitChanges(foo, "maybe_array_no_compare"):
        foo.maybe_array_no_compare = test_array
    with self.assertTraitChanges(foo, "maybe_array_no_compare"):
        foo.maybe_array_no_compare = test_array