class_docstr: Test that the debugger can debug Python.
class_docstr_tok: ["Test","that","the","debugger","can","debug","Python","."]
docstr: Ensure that the given "actual" string ends with "exp_end"
docstr_tok: ["Ensure","that","the","given","``","actual","''","string","ends","with","``","exp_end","''"]
code: def assertEndsWith(self, actual, exp_end):
      '''Ensure that the given "actual" string ends with "exp_end"'''
      self.assertTrue(
          actual.endswith(exp_end),
          msg="%r did not end with %r" % (actual, exp_end),
      )
  
file_path: cpython/Lib/test/test_gdb/util.py
imports: import os
  import re
  import shlex
  import shutil
  import subprocess
  import sys
  import sysconfig
  import unittest
  from test import support
label_desc: Use image node_id 2 for calling the DebuggerTests obj's underlying member method code with example usage: obj.assertEndsWith(actual, exp_end) without return types