self._idempotent(msg, text)
def test_more_rfc2231_parameters(self):
+ # BAW: What to do about this. Python 2.1 doesn't know about the
+ # charset ansi-x3.4-1968, so this test will fail. Do we teach Python
+ # about that charset, and if so, where (maybe Charset.py)? For now,
+ # just skip this test if we aren't at least in Python 2.2.
+ if sys.hexversion < 0x20200000:
+ return
msg, text = self._msgobj('msg_33.txt')
self._idempotent(msg, text)
""")
def test_rfc2231_get_content_charset(self):
+ # BAW: What to do about this. Python 2.1 doesn't know about the
+ # charset ansi-x3.4-1968, so this test will fail. Do we teach Python
+ # about that charset, and if so, where (maybe Charset.py)? For now,
+ # just skip this test if we aren't at least in Python 2.2.
+ if sys.hexversion < 0x20200000:
+ return
eq = self.assertEqual
msg = self._msgobj('msg_32.txt')
eq(msg.get_content_charset(), 'us-ascii')