[Win32] selftest bzrlib.inventory.InventoryEntry fails
Alexander Belchenko
bialix at ukr.net
Sun Oct 30 19:39:47 GMT 2005
I don't sure what the *right* way to fix this test on win32:
-------------------------------------------------------------------------
FAIL: InventoryEntry (bzrlib.inventory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\lib\doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for bzrlib.inventory.InventoryEntry
File "E:\work\Python\bzr\0.6\win32-dev\bzrlib\inventory.py", line 45,
in InventoryEntry
----------------------------------------------------------------------
File "E:\work\Python\bzr\0.6\win32-dev\bzrlib\inventory.py", line 82, in
bzrlib.inventory.InventoryEntry
Failed example:
for j in i.iter_entries():
print j
Expected:
('src', InventoryDirectory('123', 'src', parent_id='TREE_ROOT'))
('src/hello.c', InventoryFile('2323', 'hello.c', parent_id='123'))
Got:
('src', InventoryDirectory('123', 'src', parent_id='TREE_ROOT'))
('src\\hello.c', InventoryFile('2323', 'hello.c', parent_id='123'))
------------------------------------------------------------------------
Any hints is very appreciated.
Alexander.
More information about the bazaar
mailing list