[Zope-dev] [Zope 2.12.0a2]Acquisition+ExtensionClass failures with Python 2.6.2/Linux
Andreas Jung
lists at zopyx.com
Fri Apr 17 10:46:55 EDT 2009
In addition, some of the Acquistion test fail when trying to test the
package alone:
ajung at blackmoon:/develop/repository/svn.zope.org/Acquisition/tags/2.11.1>
bin/test -vvvvvv
Running tests at level 1
Running zope.testing.testrunner.layer.UnitTests tests:
Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Running:
tests (Acquisition) (0.008 s)
old_tests (Acquisition.tests) (0.003 s)
Failure in test old_tests (Acquisition.tests)
Failed doctest test for Acquisition.tests.old_tests
File "/home/develop/repository/
svn.zope.org/Acquisition/tags/2.11.1/src/Acquisition/tests.py", line 1204,
in old_tests
----------------------------------------------------------------------
File "/home/develop/repository/
svn.zope.org/Acquisition/tags/2.11.1/src/Acquisition/tests.py", line 1238,
in Acquisition.tests.old_tests
Failed example:
b.c.d == c
Expected:
1
Got:
False
----------------------------------------------------------------------
File "/home/develop/repository/
svn.zope.org/Acquisition/tags/2.11.1/src/Acquisition/tests.py", line 1242,
in Acquisition.tests.old_tests
Failed example:
b.c == c
Expected:
1
Got:
False
Can anyone reproduce this?
Andreas
On Fri, Apr 17, 2009 at 16:43, Andreas Jung <lists at zopyx.com> wrote:
> Hi,
>
> I am working on the 2.12.0a2 release. I get test failures on my Linux box
> (OpenSuse 10.3/64 bit,
> fresh Python 2.6.2 installation):
>
> ----------------------------------------------------------------------
> File
> "/home/ajung/.buildout/eggs/Acquisition-2.12.1-py2.6-linux-x86_64.egg/Acquisition/tests.py",
> line 1732, in Acquisition.tests.test_proxying
> Failed example:
> list(i.c)
> Exception raised:
> Traceback (most recent call last):
> File
> "/home/ajung/.buildout/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py",
> line 1356, in __run
> compileflags, 1) in test.globs
> File "<doctest Acquisition.tests.test_proxying[11]>", line 1, in
> <module>
> list(i.c)
> MemoryError
> ----------------------------------------------------------------------
> File
> "/home/ajung/.buildout/eggs/Acquisition-2.12.1-py2.6-linux-x86_64.egg/Acquisition/tests.py",
> line 1781, in Acquisition.tests.test_proxying
> Failed example:
> list(i.c)
> Exception raised:
> Traceback (most recent call last):
> File
> "/home/ajung/.buildout/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py",
> line 1356, in __run
> compileflags, 1) in test.globs
> File "<doctest Acquisition.tests.test_proxying[23]>", line 1, in
> <module>
> list(i.c)
> MemoryError
>
> ----------------------------------------------------------------------
> File
> "/home/ajung/.buildout/eggs/ExtensionClass-2.11.1-py2.6-linux-x86_64.egg/ExtensionClass/tests.py",
> line 419, in ExtensionClass.tests.test_pickling_w_slots_w_empty_dict
> Failed example:
> pickle.loads(pickle.dumps(x, 0)) == x
> Expected:
> 1
> Got:
> False
> ----------------------------------------------------------------------
> File
> "/home/ajung/.buildout/eggs/ExtensionClass-2.11.1-py2.6-linux-x86_64.egg/ExtensionClass/tests.py",
> line 421, in ExtensionClass.tests.test_pickling_w_slots_w_empty_dict
> Failed example:
> pickle.loads(pickle.dumps(x, 1)) == x
> Expected:
> 1
> Got:
> False
> ----------------------------------------------------------------------
> File
> "/home/ajung/.buildout/eggs/ExtensionClass-2.11.1-py2.6-linux-x86_64.egg/ExtensionClass/tests.py",
> line 423, in ExtensionClass.tests.test_pickling_w_slots_w_empty_dict
> Failed example:
> pickle.loads(pickle.dumps(x, 2)) == x
> Expected:
> 1
> Got:
> False
>
> However I have no failures on MacOSX.
>
> WTF?
>
> Andreas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-dev/attachments/20090417/7b57888e/attachment.html
More information about the Zope-Dev
mailing list