tests/basics: Add test for set.difference_update with arg being itself.
This commit is contained in:
parent
2c7716fed0
commit
443cc0114d
|
@ -14,3 +14,6 @@ print(s.difference_update({1}))
|
||||||
print(sorted(s))
|
print(sorted(s))
|
||||||
print(s.difference_update({1}, [2]))
|
print(s.difference_update({1}, [2]))
|
||||||
print(sorted(s))
|
print(sorted(s))
|
||||||
|
|
||||||
|
s.difference_update(s)
|
||||||
|
print(s)
|
||||||
|
|
Loading…
Reference in New Issue