class_docstr: Test equality and order comparisons for some simple cases.
class_docstr_tok: ["Test","equality","and","order","comparisons","for","some","simple","cases","."]
code: def test_id_comparisons(self):
      # Ensure default comparison compares id() of args
      L = []
      for i in range(10):
          L.insert(len(L) // 2, self.Empty())
      for a in L:
          for b in L:
              self.assertEqual(a == b, a is b, "a=%r, b=%r" % (a, b))
  
imports: import unittest
  from test.support import ALWAYS_EQ
  from fractions import Fraction
  from decimal import Decimal
label_desc: Use image node_id 2 for calling the ComparisonSimpleTest obj's underlying member method code with example usage: obj.test_id_comparisons() without return types