Fix test failure under Python 2.
1 file changed