Пример #1
0
 def test_assert_less():
     # Check that the nose implementation of assert_less gives the
     # same thing as the scikit's
     assert_less(0, 1)
     _assert_less(0, 1)
     assert_raises(AssertionError, assert_less, 1, 0)
     assert_raises(AssertionError, _assert_less, 1, 0)
Пример #2
0
 def test_assert_less():
     # Check that the nose implementation of assert_less gives the
     # same thing as the scikit's
     assert_less(0, 1)
     _assert_less(0, 1)
     assert_raises(AssertionError, assert_less, 1, 0)
     assert_raises(AssertionError, _assert_less, 1, 0)