From 2d0ae7199501795617a82a32bafe19b4b5ae89c3 Mon Sep 17 00:00:00 2001 From: Jason Madden Date: Wed, 22 Aug 2018 10:43:19 -0500 Subject: [PATCH] Fix tests with, and depend on, persistent 4.4. Fixes #213. --- src/ZODB/tests/util.py | 5 +++++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/ZODB/tests/util.py b/src/ZODB/tests/util.py index 4ffde92c1..e9bf547fa 100644 --- a/src/ZODB/tests/util.py +++ b/src/ZODB/tests/util.py @@ -37,6 +37,11 @@ r"\1"), (re.compile('b(".*?")'), r"\1"), + # Persistent 4.4 changes the repr of persistent subclasses, + # and it is slightly different with the C extension and + # pure-Python module + (re.compile('ZODB.tests.testcrossdatabasereferences.'), + ''), # Python 3 adds module name to exceptions. (re.compile("ZODB.interfaces.BlobError"), r"BlobError"),