fix test on python 3.2