code: def test_bias_check_arguments():
      # negative damping is not allowed
      with raises(ValueError):
          Bias(damping=-1)
  
      # negative user damping not allowed
      with raises(ValueError):
          Bias(damping=(-1, 5))
  
      # negative user damping not allowed
      with raises(ValueError):
          Bias(damping=(5, -1))
  
imports: from lenskit.algorithms.bias import Bias
  from lenskit import util
  import logging
  import pickle
  import binpickle
  import pandas
  import numpy
  from pytest import approx, raises, mark
  from lenskit.util.test import ml_test
label_desc: Use image node_id 1 for calling a global function with example usage: test_bias_check_arguments() without return types