Also test that the locale module isn't loaded during normal startup

This commit is contained in:
Christian Heimes 2013-10-12 01:00:51 +02:00
parent bfc3a9a5c3
commit 1a5fb4e3c1

View file

@ -434,6 +434,8 @@ class StartupImportTests(unittest.TestCase):
re_mods = {'re', '_sre', 'sre_compile', 'sre_constants', 'sre_parse'}
self.assertFalse(modules.intersection(re_mods))
self.assertNotIn('locale', modules)
if __name__ == "__main__":
unittest.main()