def verifyColourSpecificationBox(self, actual, expected):
self.assertEqual(actual.method, expected.method)<EOL>self.assertEqual(actual.precedence, expected.precedence)<EOL>self.assertEqual(actual.approximation, expected.approximation)<EOL>if expected.colorspace is None:<EOL><INDENT>self.assertIsNone(actual.colorspace)<EOL>self.assertIsNotNone(actual.icc_profile)<EOL><DEDENT>else:<EOL><INDENT>self.assertEqual(actual.colorspace, expected.colorspace)<EOL>self.assertIsNone(actual.icc_profile)<EOL><DEDENT>
Does not currently check icc profiles.