Ezio Melotti added the comment:

+                if int(groups[0]) == int(previous_groups[0]):
+                    self.assertGreaterEqual(int(groups[1]), 
int(previous_groups[1]),

This checks that
  int(groups[1]) >= int(previous_groups[1]) if int(groups[0]) == 
int(previous_groups[0])
whereas the previous version (with the int() fixed) checked that
  int(groups[1]) >= (previous_groups[1]) or groups[0] != groups[1].

Was the previous check nonsensical apart from the wrong usage of int()?
Note that even the indexes you used are different (I haven't checked what those 
values actually are though).

----------
nosy: +ezio.melotti

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15802>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to