diff options
Diffstat (limited to 'Lib/test/test_operations.py')
-rw-r--r-- | Lib/test/test_operations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_operations.py b/Lib/test/test_operations.py index 67e77aa..8baef4c 100644 --- a/Lib/test/test_operations.py +++ b/Lib/test/test_operations.py @@ -30,7 +30,7 @@ for stmt in ['d[x2] = 2', 'd.pop(x2)', 'd.update({x2: 2})']: try: - exec stmt + exec(stmt) except RuntimeError: print "%s: caught the RuntimeError outside" % (stmt,) else: |