(filename)
| 18 | from email.iterators import _structure |
| 19 | |
| 20 | def openfile(filename): |
| 21 | from os.path import join, dirname, abspath |
| 22 | path = abspath(join(dirname(testfile), os.pardir, 'moredata', filename)) |
| 23 | return open(path, 'r') |
| 24 | |
| 25 | # Prevent this test from running in the Python distro |
| 26 | def setUpModule(): |