Needed for python2.6 (only for the tests in fact)