class_docstr: Test equality and ordering comparisons for built-in types and
  user-defined classes that implement relevant combinations of rich
  comparison methods.
class_docstr_tok: ["Test","equality","and","ordering","comparisons","for","built-in","types","and","user-defined","classes","that","implement","relevant","combinations","of","rich","comparison","methods","."]
code: def assert_lt_subtest(self, a, b, comp, a_meth, b_meth):
      if a_meth is None or "lt" in a_meth or "gt" in b_meth:
          self.assertEqual(a < b, comp < 0)
          self.assertEqual(b > a, comp < 0)
      else:
          with self.assertRaisesRegex(TypeError, "not supported"):
              a < b
          with self.assertRaisesRegex(TypeError, "not supported"):
              b > a
  
imports: import unittest
  from test.support import ALWAYS_EQ
  from fractions import Fraction
  from decimal import Decimal
label_desc: Use image node_id 6 for calling the ComparisonFullTest obj's underlying member method code with example usage: obj.assert_lt_subtest(a, b, comp, a_meth, b_meth) without return types