docstr: Test PyUnicode_InternFromString()
docstr_tok: ["Test","PyUnicode_InternFromString","(",")"]
code: def test_internfromstring(self):
      """Test PyUnicode_InternFromString()"""
      from _testcapi import unicode_internfromstring as internfromstring
  
      self.assertEqual(internfromstring(b"abc"), "abc")
      self.assertEqual(
          internfromstring(b"\xf0\x9f\x98\x80"), "\U0001f600"
      )
      self.assertRaises(UnicodeDecodeError, internfromstring, b"\xc2")
      self.assertRaises(UnicodeDecodeError, internfromstring, b"\xa1")
      self.assertEqual(internfromstring(b""), "")
  
imports: import unittest
  import sys
  from test import support
  from test.support import import_helper
label_desc: Use image node_id 16 for calling the CAPITest obj's underlying member method code with example usage: obj.test_internfromstring() without return types