~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

  • Committer: John Arbash Meinel
  • Date: 2007-02-17 22:12:26 UTC
  • mto: This revision was merged to the branch mainline in revision 2298.
  • Revision ID: john@arbash-meinel.com-20070217221226-op8ol98ngy4219fd
Fix one doc test in Inventory which expected a plain str

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
    >>> for ix, j in enumerate(i.iter_entries()):
95
95
    ...   print (j[0] == shouldbe[ix], j[1])
96
96
    ... 
97
 
    (True, InventoryDirectory('TREE_ROOT', '', parent_id=None, revision=None))
 
97
    (True, InventoryDirectory('TREE_ROOT', u'', parent_id=None, revision=None))
98
98
    (True, InventoryDirectory('123', 'src', parent_id='TREE_ROOT', revision=None))
99
99
    (True, InventoryFile('2323', 'hello.c', parent_id='123', sha1=None, len=None))
100
100
    >>> i.add(InventoryFile('2323', 'bye.c', '123'))