From 688323307a0cb77067a097ffb30077694b0d55d0 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Thu, 26 Mar 2020 21:07:33 -0500 Subject: [PATCH] tests/basics/dict_pop.py: Remove extra comma in call and fix grammar. --- tests/basics/dict_pop.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/basics/dict_pop.py b/tests/basics/dict_pop.py index 602560ce9d..454eb07cc0 100644 --- a/tests/basics/dict_pop.py +++ b/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!")