Move tests in basic/tests/ up one level preparating to multiple test dirs.
This commit is contained in:
9
tests/basics/set_remove.py
Normal file
9
tests/basics/set_remove.py
Normal file
@@ -0,0 +1,9 @@
|
||||
s = {1}
|
||||
print(s.remove(1))
|
||||
print(list(s))
|
||||
try:
|
||||
print(s.remove(1), "!!!")
|
||||
except KeyError:
|
||||
pass
|
||||
else:
|
||||
print("failed to raise KeyError")
|
||||
Reference in New Issue
Block a user