test_versioninfo fails when system has bzr 2.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Nigel Babu |
Bug Description
bzr 2.4 changed the revno version-info field from an int to a str. This breaks test_versioninfo, which compares it to an int.
bzr-version-info.py is built using the system bzr, so it affects anywhere with system bzr 2.4. Not sure whether we can just fix the test, or if there is more fallout.
Failure in test test_out_
Traceback (most recent call last):
File "/usr/lib/
testMethod()
File "/home/
self.
File "/usr/lib/
(msg or '%r != %r' % (first, second))
AssertionError: '13788' != 13788
Related branches
- Jeroen T. Vermeulen (community): Approve
-
Diff: 9 lines (+1/-1)1 file modifiedlib/lp/app/tests/test_versioninfo.py (+1/-1)
tags: | added: test-system |
Changed in launchpad: | |
status: | Triaged → In Progress |
assignee: | nobody → Nigel Babu (nigelbabu) |
Changed in launchpad: | |
status: | In Progress → Fix Released |