

def test_cmp(self):
    t1 = time.gmtime()
    t2 = type(t1)(t1)
    self.assertEqual(t1, t2)
    self.assertTrue((not (t1 < t2)))
    self.assertTrue((t1 <= t2))
    self.assertTrue((not (t1 > t2)))
    self.assertTrue((t1 >= t2))
    self.assertTrue((not (t1 != t2)))

dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_structseq.py StructSeqTest.test_cmp/original