'Treat unknown MPO as JPEG'

def test_bad_mpo_header(self):

    fn = 'Tests/images/sugarshack_bad_mpo_header.jpg'
    im = self.assert_warning(UserWarning, (lambda : Image.open(fn)))
    self.assertEqual(im.format, 'JPEG')
