Fix nose tests on Python 2.6.