From: Christian Heimes <christian@cheimes.de> Date: Fri, 11 Oct 2013 23:00:51 +0000 (+0200) Subject: Also test that the locale module isn't loaded during normal startup X-Git-Tag: v3.4.0a4~176 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a5fb4e3c1d99a0abbb9f1e9dd6f9322102ee812;p=python Also test that the locale module isn't loaded during normal startup --- diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index 41fa7b1857..d26060316d 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -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()