diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index a3608247178..b39efcf0191 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -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__':