remove Py2.7-ism from test