code: def test_bad_setrecursionlimit_calls(self):
      run.install_recursionlimit_wrappers()
      self.addCleanup(run.uninstall_recursionlimit_wrappers)
      f = sys.setrecursionlimit
      self.assertRaises(TypeError, f, limit=100)
      self.assertRaises(TypeError, f, 100, 1000)
      self.assertRaises(ValueError, f, 0)
  
imports: from idlelib import run
  import io
  import sys
  from test.support import captured_output, captured_stderr
  import unittest
  from unittest import mock
  import idlelib
  from idlelib.idle_test.mock_idle import Func
label_desc: Use image node_id 1 for calling the RecursionLimitTest obj's underlying member method code with example usage: obj.test_bad_setrecursionlimit_calls() without return types