Rev 4979: (igc) Fix comparison bug in format name tests (trivial) in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Thu Jan 21 09:28:18 GMT 2010


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 4979 [merge]
revision-id: pqm at pqm.ubuntu.com-20100121092817-ca2wegjmyz5f715p
parent: pqm at pqm.ubuntu.com-20100121055517-y5ngh2uifz7ua7we
parent: ian.clatworthy at canonical.com-20100121085342-dqa59j0iav4gr3p7
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Thu 2010-01-21 09:28:17 +0000
message:
  (igc) Fix comparison bug in format name tests (trivial)
modified:
  bzrlib/tests/test_info.py      test_info.py-20070320150933-m0xxm1g7xi9v6noe-1
=== modified file 'bzrlib/tests/test_info.py'
--- a/bzrlib/tests/test_info.py	2010-01-20 23:28:35 +0000
+++ b/bzrlib/tests/test_info.py	2010-01-21 08:53:42 +0000
@@ -146,7 +146,7 @@
             if bzrdir.format_registry.get_info(key).hidden:
                 continue
             expected = None
-            if key in ('pack-0.92'):
+            if key in ('pack-0.92',):
                 expected = 'pack-0.92'
             elif key in ('knit', 'metaweave'):
                 expected = 'knit or metaweave'
@@ -163,9 +163,9 @@
             expected = None
             if key in ('dirstate', 'knit'):
                 expected = 'dirstate or knit'
-            elif key in ('1.14'):
+            elif key in ('1.14',):
                 expected = '1.14'
-            elif key in ('1.14-rich-root'):
+            elif key in ('1.14-rich-root',):
                 expected = '1.14-rich-root'
             self.assertBranchDescription(key, expected)
 
@@ -178,9 +178,9 @@
             expected = None
             if key in ('dirstate', 'knit', 'dirstate-tags'):
                 expected = 'dirstate or dirstate-tags or knit'
-            elif key in ('1.14'):
+            elif key in ('1.14',):
                 expected = '1.14'
-            elif key in ('1.14-rich-root'):
+            elif key in ('1.14-rich-root',):
                 expected = '1.14-rich-root'
             self.assertRepoDescription(key, expected)
 




More information about the bazaar-commits mailing list