code: def test_to_str_transcode_wrong():
      assert strings.to_str("юникод".encode("utf-8"), from_enc="cp1251")
      assert strings.to_str("юникод".encode("cp1251"), from_enc="utf-8")
  
imports: import pytest
  import six
  from library.python import strings
label_desc: Use image node_id 7 for calling a global function with example usage: test_to_str_transcode_wrong() without return types