Fix minor Python 2.7 test failure.