code: def test_bytes(doc):
      assert m.bytes_from_char_ssize_t().decode() == "green"
      assert m.bytes_from_char_size_t().decode() == "purple"
      assert m.bytes_from_string().decode() == "foo"
      assert m.bytes_from_str().decode() == "bar"
  
      assert doc(m.bytes_from_str) == "bytes_from_str() -> bytes"
  
imports: import contextlib
  import sys
  import types
  import pytest
  import env
  from pybind11_tests import detailed_error_messages_enabled
  from pybind11_tests import pytypes
label_desc: Use image node_id 19 for calling a global function with example usage: test_bytes(doc) without return types