Commit acab791f authored by Jim Fulton's avatar Jim Fulton

Added renomalizing to deal w spurious error due to rounding

difference.
parent 835784d7
......@@ -16,6 +16,7 @@
from ZODB.utils import p64, repr_to_oid
import doctest
import os
import re
import string
import struct
import sys
......@@ -24,6 +25,7 @@ import unittest
import ZEO.cache
import ZODB.tests.util
import zope.testing.setupstack
import zope.testing.renormalizing
import ZEO.cache
from ZODB.utils import p64, u64, z64
......@@ -1132,6 +1134,9 @@ def test_suite():
doctest.DocTestSuite(
setUp=zope.testing.setupstack.setUpDirectory,
tearDown=zope.testing.setupstack.tearDown,
checker=zope.testing.renormalizing.RENormalizing([
(re.compile(r'31\.3%'), '31.2%'),
]),
)
)
return suite
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment