Fix: doctest over sets
This commit is contained in:
parent
c9c44be0d1
commit
b781408d31
@ -81,8 +81,8 @@ def extract_rv(leafs):
|
|||||||
|
|
||||||
:example:
|
:example:
|
||||||
>>> leafs = ["a", "a*k"]
|
>>> leafs = ["a", "a*k"]
|
||||||
>>> list(extract_rv(leafs))
|
>>> extract_rv(leafs) == {'a', 'k'}
|
||||||
['a', 'k']
|
True
|
||||||
"""
|
"""
|
||||||
rd_values = set()
|
rd_values = set()
|
||||||
for leaf in leafs:
|
for leaf in leafs:
|
||||||
|
Loading…
Reference in New Issue
Block a user