aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_text.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-03-15 18:05:22 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2025-03-15 18:05:22 -0400
commit4d0259149eb03b21716dbde6174f36d65c57c66c (patch)
tree1e314b7849c4be1683809426d563a69a8131c13d /test/test_text.py
parentd178d764c9cc19aef1a5cf012e3ca4c3b957879f (diff)
parent8026a3c45446030d7af524bfc487d3462c8114ef (diff)
Update upstream source from tag 'upstream/1.29.2'
Update to upstream version '1.29.2' with Debian dir a3b673d57d2a397548e1a0eb8d7a7401e09e1234
Diffstat (limited to 'test/test_text.py')
-rw-r--r--test/test_text.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_text.py b/test/test_text.py
index 30feefc..d42507c 100644
--- a/test/test_text.py
+++ b/test/test_text.py
@@ -431,10 +431,10 @@ class TestText(unittest.TestCase):
self.assertEqual(f("foo=1&bar&baz=3"), {"foo": "1", "baz": "3"})
# keys with identical names
- self.assertEqual(f("foo=1&foo=2"), {"foo": ["1", "2"]})
+ self.assertEqual(f("foo=1&foo=2", ("foo",)), {"foo": ["1", "2"]})
self.assertEqual(
- f("foo=1&bar=2&foo=3&bar=4&foo=5"),
- {"foo": ["1", "3", "5"], "bar": ["2", "4"]},
+ f("foo=1&bar=2&foo=3&bar=4&foo=5", {"foo", "baz"}),
+ {"foo": ["1", "3", "5"], "bar": "2"},
)
# invalid arguments