Fixed Python 3.2 compatibility for a test.