Browse Source

tests/basics/dict_pop.py: Remove extra comma in call and fix grammar.

pull/5810/head
David Lechner 5 years ago
committed by Damien George
parent
commit
688323307a
  1. 4
      tests/basics/dict_pop.py

4
tests/basics/dict_pop.py

@ -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…
Cancel
Save