mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-47152: Convert the re module into a package (GH-32177)
The sre_* modules are now deprecated.
This commit is contained in:
parent
4ed8a9a589
commit
1be3260a90
16 changed files with 2235 additions and 2182 deletions
|
@ -523,7 +523,7 @@ class StartupImportTests(unittest.TestCase):
|
|||
self.assertIn('site', modules)
|
||||
|
||||
# http://bugs.python.org/issue19205
|
||||
re_mods = {'re', '_sre', 'sre_compile', 'sre_constants', 'sre_parse'}
|
||||
re_mods = {'re', '_sre', 're._compiler', 're._constants', 're._parser'}
|
||||
self.assertFalse(modules.intersection(re_mods), stderr)
|
||||
|
||||
# http://bugs.python.org/issue9548
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue