Without this change, the test fails on Python 3.x
(If there wasn't a problem I wouldn't have fixed it.)

See https://travis-ci.org/dokterbob/django/builds/5020749 and https://travis-ci.org/dokterbob/django/jobs/5020755