/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/per_workingtree/test_inv.py

  • Committer: Martin
  • Date: 2017-05-25 01:35:55 UTC
  • mto: This revision was merged to the branch mainline in revision 6637.
  • Revision ID: gzlist@googlemail.com-20170525013555-lepzczdnzb9r272j
Apply 2to3 next fixer and make compatible

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
        # wt.current_dirstate()'s idea about what files are where.
178
178
        ie = base.inventory['subdir-id']
179
179
        self.assertEqual('directory', ie.kind)
180
 
        path, ie = base.iter_entries_by_dir(['subdir-id']).next()
 
180
        path, ie = next(base.iter_entries_by_dir(['subdir-id']))
181
181
        self.assertEqual('subdir', path)
182
182
        self.assertEqual('tree-reference', ie.kind)