The Canvas module has been deprecated for removal in 3.0.

This commit is contained in:
Brett Cannon 2008-05-10 03:14:32 +00:00
parent 756bc0b722
commit d5a0985265
3 changed files with 8 additions and 1 deletions

View file

@ -131,7 +131,8 @@ class TestStdlibRemovals(unittest.TestCase):
all_platforms = ('audiodev', 'imputil', 'mutex', 'user', 'new', 'rexec',
'Bastion', 'compiler')
inclusive_platforms = {'irix':('pure',)}
optional_modules = ('bsddb185',)
# XXX Don't know if lib-tk is only installed if _tkinter is built.
optional_modules = ('bsddb185', 'Canvas')
def check_removal(self, module_name, optional=False):
"""Make sure the specified module, when imported, raises a