Merge pull request #889 from tqchen/master
[TEST] Fix travis test when reading hdfs
This commit is contained in:
commit
19f5f027a6
@ -183,11 +183,10 @@ class TestBasic(unittest.TestCase):
|
|||||||
assert dm.num_col() == 2
|
assert dm.num_col() == 2
|
||||||
|
|
||||||
def test_load_file_invalid(self):
|
def test_load_file_invalid(self):
|
||||||
|
self.assertRaises(xgb.core.XGBoostError, xgb.Booster,
|
||||||
self.assertRaises(xgb.XGBoostError, xgb.Booster,
|
|
||||||
model_file='incorrect_path')
|
model_file='incorrect_path')
|
||||||
|
|
||||||
self.assertRaises(xgb.XGBoostError, xgb.Booster,
|
self.assertRaises(xgb.core.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