Python 3 compatibility

This change hopefully makes django-setuptest compatible with both Python 2 and Python 3.