(self, a, b, comp, a_meth, b_meth)
| 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: |
| 327 | self.assertEqual(a >= b, comp >= 0) |
| 328 | self.assertEqual(b <= a, comp >= 0) |
| 329 | else: |
| 330 | with self.assertRaisesRegex(TypeError, "not supported"): |
| 331 | a >= b |
| 332 | with self.assertRaisesRegex(TypeError, "not supported"): |
| 333 | b <= a |
| 334 | |
| 335 | def test_objects(self): |
| 336 | """Compare instances of type 'object'.""" |
no test coverage detected