

def assert_class_versions(self, expected, received):

    def format_dict(d):
        return ''.join(('\n    {} = {}'.format(key, val) for (key, val) in sorted(d.items())))
    self.assertEqual(expected, received, 'Compiled class versions differed.\n  expected: {}\n  received: {}'.format(format_dict(expected), format_dict(received)))

dataset/ETHPy150Open pantsbuild/pants/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/jvm_platform_integration_mixin.py JvmPlatformIntegrationMixin.assert_class_versions/original