fixing for nosetests-2.7 compat