提交 a9e53050 编写于 作者: R root 提交者: chajchaj

fix ci bug

上级 9cdf6bd6
...@@ -1378,7 +1378,7 @@ class TestCrossEntropyFAPIError(unittest.TestCase): ...@@ -1378,7 +1378,7 @@ class TestCrossEntropyFAPIError(unittest.TestCase):
input=input_data, input=input_data,
label=label_data, label=label_data,
weight=weight_data, weight=weight_data,
ignore_index=0) ignore_index=255)
self.assertRaises(ValueError, test_LabelValue) self.assertRaises(ValueError, test_LabelValue)
...@@ -1392,7 +1392,7 @@ class TestCrossEntropyFAPIError(unittest.TestCase): ...@@ -1392,7 +1392,7 @@ class TestCrossEntropyFAPIError(unittest.TestCase):
input=input_data, input=input_data,
label=label_data, label=label_data,
weight=weight_data, weight=weight_data,
ignore_index=0) ignore_index=-1)
self.assertRaises(ValueError, test_LabelValueNeg) self.assertRaises(ValueError, test_LabelValueNeg)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册