BUG: fix percentage reporting when testing.assert_allclose fails.
Use more portable test methods.
Merge pull request #5025 from pp-mo/assert_allclose_percent

BUG: fix percentage reporting when testing.assert_allclose fails.