code: def test_load_screwy_unicode(fname=None):
      # test that we can tollerate some screwy unicode embeddings within json
      assert_raises(JSONDecodeError, load, fname, fixup=False)
      with swallow_logs(new_level=logging.WARNING) as cml:
          eq_(load(fname), {"Authors": ["A1", "A2"]})
          assert_in("Failed to decode content", cml.out)
  
file_path: datalad/datalad/support/tests/test_json_py.py
imports: import logging
  import os.path
  from json import JSONDecodeError
  from datalad.support.json_py import dump, dump2stream, load, load_stream, loads
  from datalad.tests.utils_pytest import assert_in, assert_raises, eq_, swallow_logs, with_tempfile
label_desc: Use image node_id 1 for calling a global function with example usage: test_load_screwy_unicode(fname) without return types