functions for testing versions of scipy/numpy
version gating of norm_L(p)