Make test compatible with Python 2.6.

The wrath of PR #51..