code: def test_timecheck_custom_message(capsys):
      with mock.patch(
          "time.time", mock.MagicMock(side_effect=[120, 150])
      ):
          timer = Timer()
          actual = timer.timecheck("I am a test!")
  
      out, _ = capsys.readouterr()
  
      assert out == "I am a test! (0.50 min)\n"
      assert actual == 0.5
  
imports: import copy
  from unittest import mock
  import numpy
  import pandas
  import pytest
  from collie.utils import convert_to_implicit, create_ratings_matrix, df_to_html, df_to_interactions, get_init_arguments, remove_users_with_fewer_than_n_interactions, Timer
label_desc: Use image node_id 21 for calling a global function with example usage: test_timecheck_custom_message(capsys) without return types