1 new changeset in py:

http://bitbucket.org/hpk42/py/changeset/6328d8ee1d40/
changeset:   r2004:6328d8ee1d40
user:        hpk42
date:        2011-02-03 16:56:33
summary:     fix for py31
affected #:  1 file (1 byte)

--- a/testing/code/test_assertion.py    Thu Feb 03 15:38:15 2011 +0000
+++ b/testing/code/test_assertion.py    Thu Feb 03 16:56:33 2011 +0100
@@ -106,7 +106,7 @@
         assert s.startswith("assert 1 == 2")
 
 def test_len():
-    l = list(xrange(42))
+    l = list(range(42))
     try:
         assert len(l) == 100
     except AssertionError:

Repository URL: https://bitbucket.org/hpk42/py/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
py-svn mailing list
py-svn@codespeak.net
http://codespeak.net/mailman/listinfo/py-svn

Reply via email to