(self, ext)
| 1660 | # Test the basic MIMEImage class |
| 1661 | class TestMIMEImage(unittest.TestCase): |
| 1662 | def _make_image(self, ext): |
| 1663 | with openfile(f'python.{ext}', 'rb') as fp: |
| 1664 | self._imgdata = fp.read() |
| 1665 | self._im = MIMEImage(self._imgdata) |
| 1666 | |
| 1667 | def test_guess_minor_type(self): |
| 1668 | for ext, subtype in { |
no test coverage detected