TST: tests pass on python 2.7