[Zope-Coders] Win32 Test Failure: Jeremy?
Tim Peters
tim@zope.com
Mon, 12 May 2003 12:51:27 -0400
[Chris Withers]
>> ...or anyone else know what this is and why it's failing?
>>
>> zope-tests@squishdot.org wrote:
>> ======================================================================
>> Python Version:2.1.3 (#35, Apr 8 2002, 17:47:50) [MSC 32 bit (Intel)]
>>
>> Modules included:
>> Zope (Zope-2_6-branch)
>>
>> ======================================================================
>> FAIL: checkfsrecover (testFileStorage.FileStorageTests)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>> File "testFileStorage.py", line 194, in checkfsrecover
>> File "c:\python22\lib\unittest.py", line 262, in failUnless
>> if not expr: raise self.failureException, msg
>> AssertionError
[Tim]
> I don't know. I ran the Zope-2_6-branch tests today on Win2K with no
> failures, but I was using Python 2.2.2:
> ...
> Offhand I don't see anything in the code that relies on 2.2 for proper
> operation. I haven't tried it with Python 2.1.3 yet.
I've tried 2.1.3 now, and don't have any problems with that either (Win2K;
current Zope-2_6-branch; Python 2.1.3):
"""
C:\Code\Zope-2_6-branch>\python21\python utilities\testrunner.py -v2 -a
...
checkfsrecover (testFileStorage.FileStorageTests) ... ok
...
----------------------------------------------------------------------
Ran 1733 tests in 164.677s
OK
"""
If it fails reproducibly for you, perhaps we'd learn more if you replaced
the test's line 194:
self.assert_(filecmp.cmp("FileStorageTests.fs", "fsrecover.fs"))
with something that dumped the contents of the files.