Remove debug output.
Fix syntax error in tests when run with Python 3.1 and 3.2.