(self, a, b, comp, a_meth, b_meth)
| 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: |
| 317 | self.assertEqual(a > b, comp > 0) |
| 318 | self.assertEqual(b < a, comp > 0) |
| 319 | else: |
| 320 | with self.assertRaisesRegex(TypeError, "not supported"): |
| 321 | a > b |
| 322 | with self.assertRaisesRegex(TypeError, "not supported"): |
| 323 | b < a |
| 324 | |
| 325 | def assert_ge_subtest(self, a, b, comp, a_meth, b_meth): |
| 326 | if a_meth is None or "ge" in a_meth or "le" in b_meth: |
no test coverage detected