(self, a, b, comp, a_meth, b_meth)
| 303 | b > a |
| 304 | |
| 305 | def assert_le_subtest(self, a, b, comp, a_meth, b_meth): |
| 306 | if a_meth is None or "le" in a_meth or "ge" in b_meth: |
| 307 | self.assertEqual(a <= b, comp <= 0) |
| 308 | self.assertEqual(b >= a, comp <= 0) |
| 309 | else: |
| 310 | with self.assertRaisesRegex(TypeError, "not supported"): |
| 311 | a <= b |
| 312 | with self.assertRaisesRegex(TypeError, "not supported"): |
| 313 | b >= a |
| 314 | |
| 315 | def assert_gt_subtest(self, a, b, comp, a_meth, b_meth): |
| 316 | if a_meth is None or "gt" in a_meth or "lt" in b_meth: |
no test coverage detected