mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
test fix
This commit is contained in:
@@ -22,12 +22,6 @@ def test_partition():
|
||||
[6, 7, 8, 9, 10],
|
||||
)
|
||||
|
||||
assert partition(is_greater_than_five, [6, 7, 8, 9, 10]) == (
|
||||
[0],
|
||||
[6, 7, 8, 9, 10],
|
||||
)
|
||||
assert partition(is_greater_than_five, [6, 7, 8, 9, 10]) == ([], [6, 7, 8, 9, 10])
|
||||
|
||||
assert partition(is_greater_than_five, [1, 2, 3]) == (
|
||||
[1, 2, 3],
|
||||
[],
|
||||
)
|
||||
assert partition(is_greater_than_five, [1, 2, 3]) == ([1, 2, 3], [])
|
||||
|
||||
Reference in New Issue
Block a user