[tor-commits] [stem/master] Fix python3 compatibility for tests