BUG: Disable check for oldstyle classes in python3

Fixes gh-2561
TST: Regression test for gh-2561
TST: Raise AssertionError on failure
Merge pull request #3898 from juliantaylor/py3-info-1.8

backport PR #3885 to 1.8.x