From b781408d315808a0544b94c1e6cd5e1fac6d30bb Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sun, 12 May 2019 15:59:49 +0200 Subject: [PATCH] Fix: doctest over sets --- mapytex/calculus/core/random/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mapytex/calculus/core/random/__init__.py b/mapytex/calculus/core/random/__init__.py index 0c2f37f..dee1486 100644 --- a/mapytex/calculus/core/random/__init__.py +++ b/mapytex/calculus/core/random/__init__.py @@ -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: