Commit 1a5fb4e3 authored by Christian Heimes's avatar Christian Heimes

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

parent bfc3a9a5
......@@ -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()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment