Fix py3 test bug

Still not sure why httpretty didn't like the previous version,
but this would intermittently fail on py3 (maybe 20% of the time).

Doing it this way, I'm not able to get the tests to fail after
running them repeatedly.