Fix: doctest over sets

This commit is contained in:
Bertrand Benjamin 2019-05-12 15:59:49 +02:00
parent c9c44be0d1
commit b781408d31

View File

@ -81,8 +81,8 @@ def extract_rv(leafs):
:example:
>>> leafs = ["a", "a*k"]
>>> list(extract_rv(leafs))
['a', 'k']
>>> extract_rv(leafs) == {'a', 'k'}
True
"""
rd_values = set()
for leaf in leafs: