Drop saving binary format for memory snapshot. (#6513)

This commit is contained in:
Jiaming Yuan
2020-12-17 00:14:57 +08:00
committed by GitHub
parent 0e97d97d50
commit c5876277a8
5 changed files with 23 additions and 103 deletions

View File

@@ -42,17 +42,9 @@ class TestPickling:
if os.path.exists(filename):
os.remove(filename)
def test_model_pickling_binary(self):
params = {
'nthread': 1,
'tree_method': 'hist'
}
self.run_model_pickling(params)
def test_model_pickling_json(self):
params = {
'nthread': 1,
'tree_method': 'hist',
'enable_experimental_json_serialization': True
}
self.run_model_pickling(params)