repair nosetests