code: def test_command_line_handling_do_discovery_too_many_arguments(self):
      program = TestableTestProgram()
      program.testLoader = None
  
      with support.captured_stderr() as stderr, self.assertRaises(
          SystemExit
      ) as cm:
          # too many args
          program._do_discovery(["one", "two", "three", "four"])
      self.assertEqual(cm.exception.args, (2,))
      self.assertIn("usage:", stderr.getvalue())
  
imports: import os.path
  from os.path import abspath
  import re
  import sys
  import types
  import pickle
  from test import support
  from test.support import import_helper
  import unittest
  import unittest.mock
  import test.test_unittest
label_desc: Use image node_id 18 for calling the TestDiscovery obj's underlying member method code with example usage: obj.test_command_line_handling_do_discovery_too_many_arguments() without return types