code: def test_load_unicode_line_separator(fname=None):
      # See gh-3523.
      result = list(load_stream(fname))
      eq_(len(result), 2)
      eq_(result[0]["key0"], "a b")
      eq_(result[1]["key1"], "plain")
  
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 2 for calling a global function with example usage: test_load_unicode_line_separator(fname) without return types