mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +00:00
Deprecate the dl module for removal in 3.0.
This commit is contained in:
parent
0aa6e1b8fb
commit
7f874fce63
4 changed files with 12 additions and 4 deletions
|
@ -132,7 +132,7 @@ class TestStdlibRemovals(unittest.TestCase):
|
|||
'Bastion', 'compiler', 'dircache')
|
||||
inclusive_platforms = {'irix':('pure',)}
|
||||
# XXX Don't know if lib-tk is only installed if _tkinter is built.
|
||||
optional_modules = ('bsddb185', 'Canvas')
|
||||
optional_modules = ('bsddb185', 'Canvas', 'dl')
|
||||
|
||||
def check_removal(self, module_name, optional=False):
|
||||
"""Make sure the specified module, when imported, raises a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue