diff options
Diffstat (limited to 'Lib/test/test_mailcap.py')
-rw-r--r-- | Lib/test/test_mailcap.py | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Lib/test/test_mailcap.py b/Lib/test/test_mailcap.py index ef9cad4..97a8fac 100644 --- a/Lib/test/test_mailcap.py +++ b/Lib/test/test_mailcap.py @@ -1,10 +1,15 @@ -import mailcap -import os import copy +import os +import sys import test.support -from test.support import os_helper import unittest -import sys +import warnings +from test.support import os_helper +from test.support import warnings_helper + + +mailcap = warnings_helper.import_deprecated('mailcap') + # Location of mailcap file MAILCAPFILE = test.support.findfile("mailcap.txt") |