Skip to content

Commit 11e7554

Browse files
committed
fix test
1 parent 6b8a9f5 commit 11e7554

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/keras_tests/feature_networks_tests/test_features_runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ def test_invalid_bit_width_selection(self):
870870
ManualBitWidthSelectionTest(self, NodeTypeFilter(layers.Add), 3).run_test()
871871
# Check that the correct exception message was raised
872872
self.assertEqual(str(context.exception),
873-
"Manually selected activation bit-width 3 is invalid for node Add:add2.")
873+
"Manually selected activation bit-width 3 is invalid for node Add:add1.")
874874

875875
with self.assertRaises(Exception) as context:
876876
ManualBitWidthSelectionTest(self, NodeNameFilter('relu1'), 3).run_test()
@@ -880,7 +880,7 @@ def test_invalid_bit_width_selection(self):
880880

881881
def test_mul_16_bit_manual_selection(self):
882882
"""
883-
This test checks the execptions in the manual bit-width selection feature.
883+
This test checks the exceptions in the manual bit-width selection feature.
884884
"""
885885
# This "mul" can be configured to 16 bit
886886
Manual16BitWidthSelectionTest(self, NodeNameFilter('mul1'), 16).run_test()

0 commit comments

Comments
 (0)