code: def test_assembling_decoder_mix_in_basic() -> None:
      encoding = "utf-8"
      unicode_str = (
          "These are not ASCII: ä, ö, ü. These can be ASCII: a, o, u."
      )
      data_bytes = unicode_str.encode(encoding)
  
      adm = AssemblingDecoderMixIn()
  
      single_result = "".join(
          [
              adm.decode(1, bytes([data_byte]), encoding)
              for data_byte in data_bytes
          ]
      )
      assert_equal(single_result, unicode_str)
  
file_path: datalad/datalad/runner/tests/test_utils.py
imports: from __future__ import annotations
  from typing import Optional
  from unittest.mock import call, patch
  from datalad.tests.utils_pytest import assert_equal, assert_in, assert_is_none
  from ..utils import AssemblingDecoderMixIn, LineSplitter
label_desc: Use image node_id 7 for calling a global function with example usage: test_assembling_decoder_mix_in_basic() without return types