Merge lp:~nigelbabu/launchpad/833743-revno-fail into lp:launchpad

Proposed by Nigel Babu
Status: Merged
Approved by: Jeroen T. Vermeulen
Approved revision: no longer in the source branch.
Merged at revision: 13799
Proposed branch: lp:~nigelbabu/launchpad/833743-revno-fail
Merge into: lp:launchpad
Diff against target: 9 lines (+1/-1)
1 file modified
lib/lp/app/tests/test_versioninfo.py (+1/-1)
To merge this branch: bzr merge lp:~nigelbabu/launchpad/833743-revno-fail
Reviewer Review Type Date Requested Status
Jeroen T. Vermeulen (community) Approve
Review via email: mp+73008@code.launchpad.net

Commit message

Update version info test to be compatible with bzr 2.4

Description of the change

Update version info test to be compatible with bzr 2.4

To post a comment you must log in.
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

Go!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/lp/app/tests/test_versioninfo.py'
2--- lib/lp/app/tests/test_versioninfo.py 2010-12-13 18:04:24 +0000
3+++ lib/lp/app/tests/test_versioninfo.py 2011-08-26 09:29:27 +0000
4@@ -21,4 +21,4 @@
5 "print revno"]
6 process = subprocess.Popen(args, cwd='/tmp', stdout=subprocess.PIPE)
7 (output, errors) = process.communicate(None)
8- self.assertEquals(revno, int(output))
9+ self.assertEquals(int(revno), int(output))