[pypy-svn] pypy default: Fix ropeobject tests

amauryfa commits-noreply at bitbucket.org
Mon Feb 14 22:12:49 CET 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: 
Changeset: r41930:0eac337ce516
Date: 2011-02-14 22:09 +0100
http://bitbucket.org/pypy/pypy/changeset/0eac337ce516/

Log:	Fix ropeobject tests

diff --git a/pypy/objspace/std/ropeobject.py b/pypy/objspace/std/ropeobject.py
--- a/pypy/objspace/std/ropeobject.py
+++ b/pypy/objspace/std/ropeobject.py
@@ -14,8 +14,10 @@
 from pypy.objspace.std.stringtype import wrapchar
 
 from pypy.rlib import rope
-from pypy.objspace.std.stringobject import mod__String_ANY as mod__Rope_ANY,\
-    _upper, _lower, DEFAULT_NOOP_TABLE
+from pypy.objspace.std.stringobject import (
+    mod__String_ANY as mod__Rope_ANY,
+    str_format__String as str_format__Rope,
+    _upper, _lower, DEFAULT_NOOP_TABLE)
 
 class W_RopeObject(W_Object):
     from pypy.objspace.std.stringtype import str_typedef as typedef


More information about the Pypy-commit mailing list