def test_solve_args():
 with nose.tools.assert_raises(ValueError):
  (t0, k0) = (0, np.array([5.0]))
  model.solve(t0, k0, g=_termination_condition)

def test_solve_args ( ) : with nose . tools . assert_raises ( ValueError ) : ( t0 , k0 ) = ( 0 , np . array ( [ 5.0 ] ) ) model . solve ( t0 , k0 , g = _termination_condition )
testing arguments passed to the ivp .