docstr: Test PyUnicode_DecodeLatin1()
docstr_tok: ["Test","PyUnicode_DecodeLatin1","(",")"]
code: def test_decodelatin1(self):
      """Test PyUnicode_DecodeLatin1()"""
      decodelatin1 = _testcapi.unicode_decodelatin1
  
      self.assertEqual(decodelatin1(b"abc"), "abc")
      self.assertEqual(decodelatin1(b"abc", "strict"), "abc")
      self.assertEqual(decodelatin1(b"\xa1\xa2"), "\xa1\xa2")
      self.assertEqual(decodelatin1(b"\xa1\xa2", "strict"), "\xa1\xa2")
  
imports: import unittest
  import sys
  from test.support import import_helper
label_desc: Use image node_id 13 for calling the CAPITest obj's underlying member method code with example usage: obj.test_decodelatin1() without return types