COMPAT: Fix failing test on Python 2.6