code: def test_binary_ops(self):
      binary_ops = [eq, ge, gt, le, lt, ne, sub, and_, or_, xor]
      try:
          binary_ops.append(cmp)
      except NameError:
          pass  # cmp no longer exists in Python 3.
  
      for op in binary_ops:
          self.assertEqual(
              op(self.lazy, self.lazy),
              op(self.base, self.base),
              str(op),
          )
          self.assertEqual(
              op(self.lazy, self.base),
              op(self.base, self.base),
              str(op),
          )
          self.assertEqual(
              op(self.base, self.lazy),
              op(self.base, self.base),
              str(op),
          )
  
      # Contains
      self.assertIn(2, self.lazy)
      self.assertNotIn(42, self.lazy)
  
imports: from operator import eq, ge, gt, le, lt, ne, add, concat, not_, sub, and_, or_, xor
  import os.path
  import sys
  import unittest
  import warnings
  from pytz.lazy import LazyList, LazySet
label_desc: Use image node_id 3 for calling the LazySetTestCase obj's underlying member method code with example usage: obj.test_binary_ops() without return types