def test_exif_orientation(self):
        reference = image_from_b64(EXIF_REFERENCE)
        for exif_orientation, data in six.iteritems(EXIF_ORIENTATION):
            im = image_from_b64(data)
            self.assertEqual(exif_orientation, im._getexif().get(0x0112))
            self.assertFalse(near_identical(reference, im))

            im = source_generators.pil_image(BytesIO(base64.b64decode(data)))
            self.assertTrue(
                near_identical(reference, im),
                'EXIF orientation %s did not match reference image' %
                exif_orientation)
This command can be used to create a dolly context for the graph editor.
dataset/ETHPy150Open SmileyChris/easy-thumbnails/easy_thumbnails/tests/test_source_generators.py/PilImageTest.test_exif_orientation--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/extras/completion/py/pymel/core/context.py/graphDollyCtx