def test_repr_with_metaclass(self):
        # http://bugs.jython.org/issue1131
        class FooMetaclass(type):
            def __new__(cls, name, bases, attrs):
                return super(FooMetaclass, cls).__new__(cls, name, bases, attrs)

        class Foo(object):
            __metaclass__ = FooMetaclass
        self.assertEqual(__name__ % "<class '%s.Foo'>", repr(Foo))
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_class_jy.py/ClassMetaclassRepr.test_repr_with_metaclass/swapped operands of `%`