code: def test_encode_basestring_ascii(self):
      fname = self.json.encoder.encode_basestring_ascii.__name__
      for input_string, expect in CASES:
          result = self.json.encoder.encode_basestring_ascii(
              input_string
          )
          self.assertEqual(
              result,
              expect,
              "{0!r} != {1!r} for {2}({3!r})".format(
                  result, expect, fname, input_string
              ),
          )
  
file_path: cpython/Lib/test/test_json/test_encode_basestring_ascii.py
imports: from collections import OrderedDict
  from test.test_json import PyTest, CTest
  from test.support import bigaddrspacetest
label_desc: Use image node_id 1 for calling the TestEncodeBasestringAscii obj's underlying member method code with example usage: obj.test_encode_basestring_ascii() without return types