tests/heredoctest.py
changeset 22564 9599e86159ac
parent 15434 5635a4017061
child 22565 8d45a42b0c0f
--- a/tests/heredoctest.py	Sat Sep 27 12:37:53 2014 +0900
+++ b/tests/heredoctest.py	Sun Sep 28 14:15:43 2014 +0900
@@ -1,7 +1,6 @@
 import sys
 
 globalvars = {}
-localvars = {}
 lines = sys.stdin.readlines()
 while lines:
     l = lines.pop(0)
@@ -14,6 +13,6 @@
             snippet += "\n" + l[4:]
         c = compile(snippet, '<heredoc>', 'single')
         try:
-            exec c in globalvars, localvars
+            exec c in globalvars
         except Exception, inst:
             print repr(inst)