Sync test_typing.py with upstream git repo (typing.py was already synced). (3.5->3.6)