[Zope-Coders] Win32 Test Results failures:7
Tres Seaver
tseaver@zope.com
Wed, 08 May 2002 09:47:41 -0400
zope-tests@squishdot.org wrote:
> ==============================================================================
> ==============================================================================
> Python Version:2.1.2 (#31, Jan 15 2002, 17:28:11) [MSC 32 bit (Intel)]
>
> Modules included:
> Zope (HEAD)
> CMF/CMFCore (HEAD)
> CMF/CMFCalendar (HEAD)
> CMF/CMFCollector (HEAD)
> CMF/CMFDecor (HEAD)
> CMF/CMFDefault (HEAD)
> CMF/CMFTopic (HEAD)
> CMF/CMFTracker (HEAD)
> CMF/CMFWiki (HEAD)
> CMF/DCWorkflow (HEAD)
>
> ======================================================================
> FAIL: test_ctor (Products.CMFCore.tests.test_FSImage.FSImageTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "E:\ZopeTests\sandbox\Zope\lib\python\Products\CMFCore\tests\test_FSImage.py", line 41, in test_ctor
> self.assertEqual( image.get_size(), len( ref ) )
> File "c:\python21\lib\unittest.py", line 273, in failUnlessEqual
> raise self.failureException, (msg or '%s != %s' % (first, second))
> AssertionError: 209 != 98
OK, this one is due to opening a binary file without using the 'rb' flag;
works fine on my boxen, but not for Windows. This problem should be fixed now
in CVS for both the head and the 1.3 branch.
Tres.
--
===============================================================
Tres Seaver tseaver@zope.com
Zope Corporation "Zope Dealers" http://www.zope.com