Skip to content

Commit 2f4f507

Browse files
committed
fix(test): correct logger patch target for detect_fusion_bias test
The function still lives in eagle/utils.py, so the logger patch must target speculators.convert.eagle.utils.logger, not convert.utils.logger. Signed-off-by: Rahul-Tuli <rtuli@redhat.com>
1 parent 4d6d2f5 commit 2f4f507

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/convert/test_eagle_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def test_empty_weights(self):
298298
assert not has_bias
299299
assert not has_layernorms
300300

301-
@patch("speculators.convert.utils.logger")
301+
@patch("speculators.convert.eagle.utils.logger")
302302
def test_logging_messages(self, mock_logger):
303303
"""Test that appropriate log messages are generated."""
304304
weights = {

0 commit comments

Comments
 (0)