tests/basics: Add test for set.difference_update with arg being itself.

This commit is contained in:
Damien George 2016-09-28 11:10:27 +10:00
parent 2c7716fed0
commit 443cc0114d
1 changed files with 3 additions and 0 deletions

View File

@ -14,3 +14,6 @@ print(s.difference_update({1}))
print(sorted(s))
print(s.difference_update({1}, [2]))
print(sorted(s))
s.difference_update(s)
print(s)