class_docstr: Mixin to test a bunch of common functionality in models
  deriving from RecommenderBase
code: def test_fit_non_csr_matrix(self):
      # models should be able to fit user_items that are passed as a COO or LiL matrix
      # but should warn on input
      user_items = get_checker_board(50)
      model = self._get_model()
  
      with pytest.warns(ParameterWarning):
          model.fit(user_items.tocoo(), show_progress=False)
  
      model = self._get_model()
      with pytest.warns(ParameterWarning):
          model.fit(user_items.tolil(), show_progress=False)
  
imports: import os
  import pickle
  import random
  import tempfile
  import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from scipy.sparse import coo_matrix, csr_matrix
  from implicit.evaluation import precision_at_k
  from implicit.nearest_neighbours import ItemItemRecommender
  from implicit.utils import ParameterWarning
label_desc: Use image node_id 13 for calling the RecommenderBaseTestMixin obj's underlying member method code with example usage: obj.test_fit_non_csr_matrix() without return types