Fixed #26923 -- Fixed tests with older releases of numpy
Fixed #26923 -- Fixed tests with older releases of numpy

numpy.VisibleDeprecationWarning does not exist in older releases
of numpy that are still widely used (like 1.8.2 in Debian 8)
and we must deal properly with its non-existence.

rhertzog/django,rhertzog/django,rhertzog/django,rhertzog/django