Fix tests on py 3.x

Testing Done:
tox

Reviewed at https://rbcommons.com/s/twitter/r/759/