From 79525bae1d07c9ebbb41c7145736bfdabfe68620 Mon Sep 17 00:00:00 2001 From: Ilia Shutov Date: Mon, 14 Aug 2023 09:39:52 +0200 Subject: [PATCH] Python test_export.py code style fix --- Python/tests/test_export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/tests/test_export.py b/Python/tests/test_export.py index 87404d5a..49ae27aa 100644 --- a/Python/tests/test_export.py +++ b/Python/tests/test_export.py @@ -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'}