Fix test error on Python 3
Merge pull request #28 from cgohlke/patch-2

Fix test error on Python 3