Skip to content

Commit ec68ba4

Browse files
author
Ralf Schlatterbeck
committed
now I understand the comment in that method...
...after my change it failed for python2.5. Now it works for all of them.
1 parent a1410d5 commit ec68ba4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_indexer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1919
# SOFTWARE.
2020

21-
# $Id: test_indexer.py,v 1.12 2008-09-11 18:48:07 schlatterbeck Exp $
21+
# $Id: test_indexer.py,v 1.13 2008-09-11 19:10:30 schlatterbeck Exp $
2222

2323
import os, unittest, shutil
2424

@@ -55,7 +55,7 @@ def assertSeqEqual(self, s1, s2):
5555
# order. This would be *so* much easier with python2.4's sorted.
5656
s1 = list(s1)
5757
s1.sort()
58-
if s1 != s2:
58+
if [i for x,y in zip(s1, s2) for i,j in enumerate(y) if x[i] != j]:
5959
self.fail('contents of %r != %r'%(s1, s2))
6060

6161
def test_basics(self):

0 commit comments

Comments
 (0)