pass tests on py3k