code: def test_binary_serialize_text():
      # string do not get serialized in binary (since numpy uses utf32, and js/browsers do not support that)
      text = np.array(["aap", "noot", "mies"])
      label = bqplot.Label(text=text)
  
      state = label.get_state()
      assert state["text"] == ["aap", "noot", "mies"]
  
      # currently a roundtrip does not converse the datetime64 type
      label2 = bqplot.Label()
      label2.set_state(state)
  
      assert label2.text.tolist() == label.text.tolist()
  
file_path: bqplot/tests/binary_serialization_test.py
imports: import bqplot
  import numpy
  import pandas
  from bqplot.traits import array_to_json, array_from_json
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: test_binary_serialize_text() without return types