kiddouk / redisco

A Python Library for Simple Models and Containers Persisted in Redis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Equality test in Set containers is erroneous

kiddouk opened this issue · comments

Considering the following case :

from redisco.containers import Set

foo = Set('s1')
foo.add('1')
foo.add('2')

bar = Set('s2')
bar.add('1')
bar.add('2')

# Expected False
print bar != foo
True