Lines Matching refs:st2
22 st2 = parser.sequence2st(t)
26 self.assertEqual(t, st2.totuple(),
798 st2 = parser.suite('x = 2; y = x + 3')
806 self.assertEqual(st2 == st2, True)
810 self.assertEqual(st2, st2_copy)
812 self.assertEqual(st1 == st2, False)
814 self.assertEqual(st2 == st3, False)
816 self.assertEqual(st2 != st2, False)
819 self.assertEqual(st2 != st2_copy, False)
821 self.assertEqual(st2 != st1, True)
823 self.assertEqual(st3 != st2, True)
826 self.assertEqual(st1 < st2, not (st2 <= st1))
828 self.assertEqual(st2 < st3, not (st3 <= st2))
829 self.assertEqual(st1 < st2, st2 > st1)
831 self.assertEqual(st2 < st3, st3 > st2)
832 self.assertEqual(st1 <= st2, st2 >= st1)
834 self.assertEqual(st2 <= st3, st3 >= st2)
836 bottom = min(st1, st2, st3)
837 top = max(st1, st2, st3)
838 mid = sorted([st1, st2, st3])[1]
850 self.assertEqual('spanish armada' != st2, True)
854 self.assertRaises(TypeError, operator.gt, b'waterloo', st2)