Fixed a test on Python 3.2.