Python 2.6-compat in test_op