Commit f86bfab4 authored by Robert Bradshaw's avatar Robert Bradshaw

Fix set test.

parent bc146e5b
...@@ -88,15 +88,15 @@ def test_set_update(v=None): ...@@ -88,15 +88,15 @@ def test_set_update(v=None):
return s1 return s1
def test_set_multi_update(a, b, c): def test_set_multi_update():
""" """
>>> type(test_set_multi_update()) is set >>> type(test_set_multi_update()) is set
True True
>>> sorted(test_set_multi_update()) >>> sorted(test_set_multi_update())
['a', 'b', 'c', 1, 2, 3]
""" """
['a', 'b', 'c', 1, 2, (1, 2)]
cdef set s1 = set() cdef set s1 = set()
s1.update('abc', set([1]), frozenset((1,2))) s1.update('abc', set([1, 3]), frozenset([1, 2]))
return s1 return s1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment