Fix failing test in python 3.2.
authorThomi Richards <thomi.richards@canonical.com>
Sun, 15 Dec 2013 20:02:35 +0000 (09:02 +1300)
committerThomi Richards <thomi.richards@canonical.com>
Sun, 15 Dec 2013 20:02:35 +0000 (09:02 +1300)
python/subunit/tests/test_output_filter.py

index 40bec8987c5135b15de05d18b0b125519fdaf8bd..7b11d4da2ab42681a9310727839463608ac1211a 100644 (file)
@@ -166,7 +166,7 @@ class ArgParserTests(TestCase):
 
     def test_must_specify_tags_with_tags_options(self):
         fn = lambda: safe_parse_arguments(['--fail', 'foo', '--tag'])
-        if sys.version[0] >= '3':
+        if sys.version[0] > '3.2':
             expected_message = '--tag option requires 1 argument'
         else:
             expected_message = '--tag option requires an argument'