def testArchiveRepr(self):
        timestamp = 1145659903
        import time
        timestr = time.ctime(timestamp)
        a = ar.Archive(self.getArchiveFile('bash.deb'))
        b = [repr(x) for x in a]
        self.assertEquals(b, [
         timestr % '<ArFile 0744 0:0          4 %s debian-binary>',
         '<ArFile 0744 0:0       5555 %s control.tar.gz>' % timestr,
         '<ArFile 0744 0:0     757749 %s data.tar.gz>' % timestr])
dataset/ETHPy150Open sassoftware/conary/conary_test/libtest/artest.py/ArTest.testArchiveRepr/swapped operands of `%`