Skip to content

Commit

Permalink
Python test_export.py code style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia-Shutov committed Aug 14, 2023
1 parent 7f84382 commit 79525ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/tests/test_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_export_json():
assert type(json_obj) == dict
assert json_obj['num_feature'] == 4
assert json_obj['task_type'] == 'kBinaryClfRegr'
assert json_obj['average_tree_output'] == True
assert json_obj['average_tree_output']
assert json_obj['task_param'] == {'grove_per_class': False, 'leaf_vector_size': 1, 'num_class': 1,
'output_type': 'float'}
assert json_obj['model_param'] == {'global_bias': 0.0, 'pred_transform': 'identity'}
Expand Down

0 comments on commit 79525ba

Please sign in to comment.