Skip to content

Commit 39abda6

Browse files
Copilotxadupre
andauthored
test: accept static alias for sliding window cache
Agent-Logs-Url: https://github.com/sdpython/onnx-diagnostic/sessions/8c07d019-c51a-4d37-b87f-4b3d4b0df475 Co-authored-by: xadupre <22452781+xadupre@users.noreply.github.com>
1 parent 4c83254 commit 39abda6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_unittests/ut_helpers/test_cache_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def test_make_sliding_window_cache(self):
180180
)
181181
text = self.string_type(cache, with_shape=True)
182182
self.assertEqual(
183-
"SlidingWindowCache(key_cache=#3[T1s4x5x6x7,T1s4x5x6x7,T1s4x5x6x7], "
183+
f"{type(cache).__name__}(key_cache=#3[T1s4x5x6x7,T1s4x5x6x7,T1s4x5x6x7], "
184184
"value_cache=#3[T1s4x5x6x7,T1s4x5x6x7,T1s4x5x6x7])",
185185
text,
186186
)

0 commit comments

Comments
 (0)