Skip the test on logging for Python > 2.6