DOC: make compatible with numpy v1.6.1

all does not work so use array_equal