From 27c5c4de437d2da795da7ade13589ae78fddd8f5 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Wed, 30 Jul 2025 11:53:18 +0200 Subject: [PATCH] Update tests/test_utils_snapshot.py --- tests/test_utils_snapshot.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/tests/test_utils_snapshot.py b/tests/test_utils_snapshot.py index 2308fcd1e..acb46bbe6 100644 --- a/tests/test_utils_snapshot.py +++ b/tests/test_utils_snapshot.py @@ -73,13 +73,6 @@ test_cases = [ id="sort_length" ), - pytest.param( - [("2", "B", False), ("3", "C", True), ("1", "A", False)], - ["A", "B", "C"], - {"sort_key": lambda a: (a.internal, a.name)}, - id="sort_combined" - ), - pytest.param( [("1", "A"), ("2", "B"), ("3", "C")], ["C", "B", "A"], @@ -93,7 +86,7 @@ def test_snapshot(test_input, expected, kwargs): adjustables = [FakeAdjustable(*args) for args in test_input] - result = snapshot_testable(adjustables, include_internal=True, **kwargs) + result = snapshot_testable(adjustables, **kwargs) if not expected: assert result == []