Modify to success a test on Python 3