From e2cb7274ea8288f5d071d96d1df43f1421244bac Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 11 Aug 1995 14:24:47 +0000 Subject: 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 cf7c50d..4fbee3e 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -66,7 +66,7 @@ r(RuntimeError) print '(not used any more?)' r(SyntaxError) -try: exec('/\n') +try: exec '/\n' except SyntaxError: pass r(SystemError) -- cgit v0.12