Skip to content

Commit

Permalink
Changing tests results and precision
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerce committed Nov 2, 2021
1 parent 0f6db43 commit b4fc9b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bigml/tests/create_prediction_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def i_create_a_proportional_prediction(step, data=None):

def check_prediction(got, expected):
if not isinstance(got, str):
assert_almost_equals(got, float(expected), 5)
assert_almost_equals(got, float(expected), 4)
else:
eq_(got, expected)

Expand Down
2 changes: 1 addition & 1 deletion bigml/tests/test_14_create_evaluations.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def test_scenario4(self):
"""
print(self.test_scenario4.__doc__)
examples = [
['data/iris.csv', '50', '50', '800', '80', 'average_phi', '0.95007']]
['data/iris.csv', '50', '50', '800', '80', 'average_phi', '0.97007']]
for example in examples:
print("\nTesting with:\n", example)
source_create.i_upload_a_file(self, example[0])
Expand Down

0 comments on commit b4fc9b1

Please sign in to comment.