Sync test_typing.py with upstream git repo (typing.py was already synced). (3.5->3.6)
diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py
index a360824..b39efcf 100644
--- a/Lib/test/test_typing.py
+++ b/Lib/test/test_typing.py
@@ -1471,6 +1471,8 @@
         # Spot-check that stdlib modules aren't exported.
         assert 'os' not in a
         assert 'sys' not in a
+        # Check that Text is defined.
+        assert 'Text' in a
 
 
 if __name__ == '__main__':