Gregory Nofi <crackityjones200...@yahoo.com> added the comment: Attached is a new file for testing the mailcap module in Python 2.7.
Writing the test was a little tricky because the existence and contents of the .mailcap file(s) will vary depending on the system or user. Therefore, the test mostly uses its own version of .mailcap, which I will also submit to this issue. This is the first patch I've ever submitted to Python Core Development. Any feedback is appreciated. ---------- Added file: http://bugs.python.org/file15752/test_mailcap.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6484> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com