Skip to content

Commit

Permalink
maxDiff=None to fix failing KerasSequenceCNN test on github
Browse files Browse the repository at this point in the history
  • Loading branch information
LonnekeScheffer committed Apr 24, 2024
1 parent 7ed8cd0 commit 86235d3
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions test/ml_methods/test_kerasSequenceCNN.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@


class TestKerasSequenceCNN(TestCase):
maxDiff = None

def setUp(self) -> None:
os.environ[Constants.CACHE_TYPE] = CacheType.TEST.name
Expand Down Expand Up @@ -78,14 +79,6 @@ def _test_fit(self):
cnn2_params = cnn2.get_params()
cnn_params = cnn.get_params()

print("*" * 40)
print("first CNN params")
print(cnn_params)
print("*" * 40)
print("second CNN params")
print(cnn2_params)


for item, value in cnn_params.items():
if isinstance(value, Label):
self.assertDictEqual(vars(value), (vars(cnn2_params[item])))
Expand Down

0 comments on commit 86235d3

Please sign in to comment.