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","."]
docstr: Compare different-class instances with comparison methods.
docstr_tok: ["Compare","different-class","instances","with","comparison","methods","."]
code: def test_comp_classes_different(self):
      """Compare different-class instances with comparison methods."""
  
      for cls_a in self.all_comp_classes:
          for cls_b in self.all_comp_classes:
              with self.subTest(a=cls_a, b=cls_b):
                  a1 = cls_a()
                  a1.x = 1
                  b1 = cls_b()
                  b1.x = 1
                  b2 = cls_b()
                  b2.x = 2
  
                  self.assert_total_order(
                      a1, b1, 0, cls_a.meth, cls_b.meth
                  )
                  self.assert_total_order(
                      a1, b2, -1, cls_a.meth, cls_b.meth
                  )
  
imports: import unittest
  from test.support import ALWAYS_EQ
  from fractions import Fraction
  from decimal import Decimal
label_desc: Use image node_id 12 for calling the ComparisonFullTest obj's underlying member method code with example usage: obj.test_comp_classes_different() without return types