code: def test_to_str():
      tag = TinyTag.get(
          os.path.join(testfolder, "samples/id3v22-test.mp3")
      )
      assert str(
          tag
      )  # since the dict is not ordered we cannot == 'somestring'
      assert repr(
          tag
      )  # since the dict is not ordered we cannot == 'somestring'
      assert str(tag) == (
          '{"album": "Hymns for the Exiled", "albumartist": null, "artist": "Anais Mitchell", '
          '"audio_offset": 2225, "bitdepth": null, "bitrate": 160.0, "channels": 2, '
          '"comment": "Waterbug Records, www.anaismitchell.com", "composer": null, "disc": null, '
          '"disc_total": null, "duration": 0.13836297152858082, "extra": {}, "filesize": 5120, '
          '"genre": null, "samplerate": 44100, "title": "cosmic american", "track": "3", '
          '"track_total": "11", "year": "2004"}'
      )
  
imports: from __future__ import unicode_literals
  import io
  import operator
  import os
  import re
  import shutil
  import sys
  import pytest
  from pytest import raises
  from tinytag.tinytag import TinyTag, TinyTagException, ID3, Ogg, Wave, Flac, Wma, MP4, Aiff
label_desc: Use image node_id 36 for calling a global function with example usage: test_to_str() without return types