From e2cb7274ea8288f5d071d96d1df43f1421244bac Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 11 Aug 1995 14:24:47 +0000 Subject: [PATCH] exec() -> exec --- Lib/test/test_exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index cf7c50dbe09..4fbee3e76a1 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -66,7 +66,7 @@ def r(name): print name print '(not used any more?)' r(SyntaxError) -try: exec('/\n') +try: exec '/\n' except SyntaxError: pass r(SystemError)