Attempt to fix a Py3 test failure.