diff options
author | Simon Sawicki <contact@grub4k.xyz> | 2024-11-15 22:06:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-15 22:06:15 +0100 |
commit | 39d79c9b9cf23411d935910685c40aa1a2fdb409 (patch) | |
tree | 63ac6f5c85b93bbaa2c2ba673057fda1da38d34a /test/test_traversal.py | |
parent | f2a4983df7a64c4e93b56f79dbd16a781bd90206 (diff) |
[utils] Fix `join_nonempty`, add `**kwargs` to `unpack` (#11559)
Authored by: Grub4K
Diffstat (limited to 'test/test_traversal.py')
-rw-r--r-- | test/test_traversal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_traversal.py b/test/test_traversal.py index d48606e99..52ea19fab 100644 --- a/test/test_traversal.py +++ b/test/test_traversal.py @@ -525,7 +525,7 @@ class TestTraversalHelpers: def test_unpack(self): assert unpack(lambda *x: ''.join(map(str, x)))([1, 2, 3]) == '123' assert unpack(join_nonempty)([1, 2, 3]) == '1-2-3' - assert unpack(join_nonempty(delim=' '))([1, 2, 3]) == '1 2 3' + assert unpack(join_nonempty, delim=' ')([1, 2, 3]) == '1 2 3' with pytest.raises(TypeError): unpack(join_nonempty)() with pytest.raises(TypeError): |