code: def test_timecheck_default_message(capsys):
      with mock.patch("time.time", mock.MagicMock(side_effect=[0, 60])):
          timer = Timer()
          actual = timer.timecheck()
  
      out, _ = capsys.readouterr()
  
      assert out == "Finished (1.00 min)\n"
      assert actual == 1
  
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 20 for calling a global function with example usage: test_timecheck_default_message(capsys) without return types