bad assertion in test_bashcomp.py

Bug #1593764 reported by Jakub Wilk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash completion generator for bzr
New
Undecided
Unassigned

Bug Description

bzrlib/plugins/bash_completion/tests/test_bashcomp.py contains this statement:

            raise AssertionError('Completion should omit %r but it has %r'
                                 % (surplus, res, self.completion_result))

There are 3 format arguments, but only two conversion specifiers.
Moreover, "res" is not defined anywhere.

This bug was found using pydiatra:
http://jwilk.net/software/pydiatra

affects: bzr → bzr-bash-completion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.