code: def test_vsBuiltinSort(self, n=500):
      from random import choice
  
      for insorted in (list(), UserList()):
          for i in range(n):
              digit = choice("0123456789")
              if digit in "02468":
                  f = self.module.insort_left
              else:
                  f = self.module.insort_right
              f(insorted, digit)
          self.assertEqual(sorted(insorted), insorted)
  
imports: import sys
  import unittest
  from test.support import import_helper
  from collections import UserList
label_desc: Use image node_id 1 for calling the TestInsort obj's underlying member method code with example usage: obj.test_vsBuiltinSort(n) without return types