tests/basics/dict_pop.py: Remove extra comma in call and fix grammar.
This commit is contained in:
parent
1a3e386c67
commit
688323307a
|
@ -5,8 +5,8 @@ print(d.pop(1, 42), d)
|
|||
print(d.pop(1, 42), d)
|
||||
print(d.pop(1, None), d)
|
||||
try:
|
||||
print(d.pop(1), "!!!",)
|
||||
print(d.pop(1), "!!!")
|
||||
except KeyError:
|
||||
print("Raised KeyError")
|
||||
else:
|
||||
print("Did not rise KeyError!")
|
||||
print("Did not raise KeyError!")
|
||||
|
|
Loading…
Reference in New Issue