mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Also test that the locale module isn't loaded during normal startup
This commit is contained in:
parent
bfc3a9a5c3
commit
1a5fb4e3c1
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue