Mercurial > p > roundup > code
comparison test/test_mailgw.py @ 4979:f1a2bd1dea77
issue2550877: Writing headers with the email module will use continuation_ws = ' ' now for python 2.5 and 2.6 when importing anypy.email_.
| author | Bernhard Reiter <bernhard@intevation.de> |
|---|---|
| date | Mon, 16 Mar 2015 16:16:02 +0100 |
| parents | b198e50dc7dc |
| children | 7f8f27ce1a06 |
comparison
equal
deleted
inserted
replaced
| 4978:ac1f56d77cf5 | 4979:f1a2bd1dea77 |
|---|---|
| 12 # TODO: test bcc | 12 # TODO: test bcc |
| 13 | 13 |
| 14 import email | 14 import email |
| 15 import gpgmelib | 15 import gpgmelib |
| 16 import unittest, tempfile, os, shutil, errno, imp, sys, difflib, time | 16 import unittest, tempfile, os, shutil, errno, imp, sys, difflib, time |
| 17 | |
| 18 | 17 |
| 19 try: | 18 try: |
| 20 import pyme, pyme.core | 19 import pyme, pyme.core |
| 21 except ImportError: | 20 except ImportError: |
| 22 pyme = None | 21 pyme = None |
