code: def test_ensure_ascii_false_bytestring_encoding(self):
      # http://code.google.com/p/simplejson/issues/detail?id=48
      doc1 = {"quux": b("Arr\xc3\xaat sur images")}
      doc2 = {"quux": "Arr\xeat sur images"}
      doc_ascii = '{"quux": "Arr\\u00eat sur images"}'
      doc_unicode = '{"quux": "Arr\xeat sur images"}'
      self.assertEqual(json.dumps(doc1), doc_ascii)
      self.assertEqual(json.dumps(doc2), doc_ascii)
      self.assertEqual(
          json.dumps(doc1, ensure_ascii=False), doc_unicode
      )
      self.assertEqual(
          json.dumps(doc2, ensure_ascii=False), doc_unicode
      )
  
imports: import sys
  import codecs
  from unittest import TestCase
  import simplejson
  from simplejson.compat import unichr, text_type, b, BytesIO
label_desc: Use image node_id 14 for calling the TestUnicode obj's underlying member method code with example usage: obj.test_ensure_ascii_false_bytestring_encoding() without return types