'Open files passed into get_image_dimensions() should stay opened.'

@unittest.skipUnless(Image, u'Pillow/PIL    not    installed')
def test_not_closing_of_files(self):

    empty_io = BytesIO()
    try:
        get_image_dimensions(empty_io)
    finally:
        self.assertTrue((not empty_io.closed))
