fix running tests directly in py2 (#382)

* fix running tests directly in py2

* use test_typing
1 file changed