[Python-checkins] cpython: adjust for change in AST type

benjamin.peterson python-checkins at python.org
Mon Mar 12 19:37:33 CET 2012


http://hg.python.org/cpython/rev/2687e8a9bb6c
changeset:   75547:2687e8a9bb6c
user:        Benjamin Peterson <benjamin at python.org>
date:        Mon Mar 12 11:19:19 2012 -0700
summary:
  adjust for change in AST type

files:
  Lib/test/test_sys.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -882,7 +882,7 @@
         check = self.check_sizeof
         # _ast.AST
         import _ast
-        check(_ast.AST(), size(h + ''))
+        check(_ast.AST(), size(h + 'P'))
         # imp.NullImporter
         import imp
         check(imp.NullImporter(self.file.name), size(h + ''))

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list