From a86575783f30fee79c47c16c317efe9c26254590 Mon Sep 17 00:00:00 2001 From: Marius Gedminas <marius@gedmin.as> Date: Wed, 20 Feb 2013 08:55:44 +0200 Subject: [PATCH] Fix blob_layout.txt failures on Python 2.7 --- src/ZODB/tests/testblob.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ZODB/tests/testblob.py b/src/ZODB/tests/testblob.py index 6e13107f..32be6506 100644 --- a/src/ZODB/tests/testblob.py +++ b/src/ZODB/tests/testblob.py @@ -770,11 +770,12 @@ def test_suite(): optionflags=doctest.ELLIPSIS|doctest.NORMALIZE_WHITESPACE, setUp=setUp, tearDown=zope.testing.setupstack.tearDown, - checker = ZODB.tests.util.checker + \ + checker=ZODB.tests.util.checker + zope.testing.renormalizing.RENormalizing([ (re.compile(r'\%(sep)s\%(sep)s' % dict(sep=os.path.sep)), '/'), (re.compile(r'\%(sep)s' % dict(sep=os.path.sep)), '/'), (re.compile(r'\S+/((old|bushy|lawn)/\S+/foo[23456]?)'), r'\1'), + (re.compile(r"u('[^']*')"), r"\1"), ]), )) suite.addTest(storage_reusable_suite( -- 2.30.9