This should make tests work on python 2.6