Upstream dgilland/pydash state of the touched files before 829d1ba14c

This commit is contained in:
upstream committed 2026-09-04 09:18:56 +02:00
1 parent 442a17b572
commit c1a7f624a6
3 files changed
+5 -92

No files matched your search

-8
View File
@@ -158,14 +158,6 @@ def test_duplicates(case, expected):
(([1, 2, 3, 4, 5], 0, 0, 5), [0, 0, 0, 0, 0]),
(([1, 2, 3, 4, 5], 0, 0, 8), [0, 0, 0, 0, 0]),
(([1, 2, 3, 4, 5], 0, 0, -1), [0, 0, 0, 0, 5]),
# start after end must be a no-op and must not grow the array.
(([1, 2, 3, 4], "x", 4, 1), [1, 2, 3, 4]),
(([1, 2, 3, 4, 5], 0, 3, 2), [1, 2, 3, 4, 5]),
# negative start supported the same way slicing does.
(([1, 2, 3, 4, 5], 0, -2), [1, 2, 3, 0, 0]),
(([1, 2, 3, 4, 5], 0, -2, -1), [1, 2, 3, 0, 5]),
# reversed negative span is a no-op, not an array-growing overlap.
(([1, 2, 3], "x", -1, -2), [1, 2, 3]),
],
)
def test_fill(case, expected):