code: def test_assembling_decoder_mix_in_warning() -> None:
      encoding = "utf-8"
      data_bytes = "🐷🐶.".encode(encoding)
  
      adm = AssemblingDecoderMixIn()
  
      with patch("datalad.runner.utils.logger") as logger_mock:
          result = adm.decode(1, data_bytes[0:1], encoding)
          assert_equal(result, "")
          del adm
          assert_in(
              call.warning(
                  "unprocessed data in AssemblingDecoderMixIn"
              ),
              logger_mock.mock_calls,
          )
          assert_in(
              call.debug(
                  "unprocessed data in AssemblingDecoderMixIn:\n"
                  "fd: 1, data: b'\\xf0'\n"
              ),
              logger_mock.mock_calls,
          )
  
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 11 for calling a global function with example usage: test_assembling_decoder_mix_in_warning() without return types