Serhiy Storchaka added the comment: You can use test.support.import_module(deprecated=True) for importing deprecated module in tests.
---------- versions: -Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9850> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com