BUG/COMPAT: test compat on Python 2.6

closes #7152