Skip to content

Commit

Permalink
less significant digits in almostequal assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
dariomalchiodi committed Nov 15, 2024
1 parent c85da65 commit 0b53161
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mulearn/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '1.0.9'
__version__ = '1.1.0'


import copy
Expand Down
2 changes: 1 addition & 1 deletion tests/test_fuzzifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def _test_compute(self, fuzzifier, squared_R, mu, squared_radius, target):
def _test_profile(self, fuzzifier, attributes, values):
fuzzifier.fit(self.X, self.y, 3.5)
for a, v in zip(attributes, values):
self.assertAlmostEqual(fuzzifier.__getattribute__(a), v)
self.assertAlmostEqual(fuzzifier.__getattribute__(a), v, places=6)

_, _ ,_ = fuzzifier.get_profile(self.X)

Expand Down

0 comments on commit 0b53161

Please sign in to comment.