Fix testcase after update and allow hdfs load
This commit is contained in:
parent
be810e4f16
commit
758a77de9c
@ -184,10 +184,10 @@ class TestBasic(unittest.TestCase):
|
|||||||
|
|
||||||
def test_load_file_invalid(self):
|
def test_load_file_invalid(self):
|
||||||
|
|
||||||
self.assertRaises(ValueError, xgb.Booster,
|
self.assertRaises(xgb.XGBoostError, xgb.Booster,
|
||||||
model_file='incorrect_path')
|
model_file='incorrect_path')
|
||||||
|
|
||||||
self.assertRaises(ValueError, xgb.Booster,
|
self.assertRaises(xgb.XGBoostError, xgb.Booster,
|
||||||
model_file=u'不正なパス')
|
model_file=u'不正なパス')
|
||||||
|
|
||||||
def test_dmatrix_numpy_init(self):
|
def test_dmatrix_numpy_init(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user