code: def test_lt_returns_notimplemented(self):
      class A:
          def __init__(self, val):
              self.val = val
  
          def __lt__(self, other):
              return NotImplemented
  
          def __gt__(self, other):
              return self.val > other.val
  
      data = [A(i) for i in range(100)]
      i1 = self.module.bisect_left(data, A(40))
      i2 = self.module.bisect_right(data, A(40))
      self.assertEqual(i1, 40)
      self.assertEqual(i2, 41)
  
imports: import sys
  import unittest
  from test.support import import_helper
  from collections import UserList
label_desc: Use image node_id 14 for calling the TestBisect obj's underlying member method code with example usage: obj.test_lt_returns_notimplemented() and returns: NotImplemented, unknown