mirror of
https://github.com/micropython/micropython.git
synced 2025-09-03 16:30:34 +02:00
tests/basics/dict_pop.py: Remove extra comma in call and fix grammar.
This commit is contained in:
committed by
Damien George
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!")
|
||||
|
Reference in New Issue
Block a user