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

This commit is contained in:
Guido van Rossum 2016-04-17 17:53:50 -07:00
commit f0f1d365c8
1 changed files with 2 additions and 0 deletions

View File

@ -1471,6 +1471,8 @@ class AllTests(TestCase):
# 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__':