Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r55231:ebd5aa5c62cc
Date: 2012-05-31 15:34 +0200
http://bitbucket.org/pypy/pypy/changeset/ebd5aa5c62cc/
Log: kill long literals
diff --git a/pypy/module/_random/test/test_random.py
b/pypy/module/_random/test/test_random.py
--- a/pypy/module/_random/test/test_random.py
+++ b/pypy/module/_random/test/test_random.py
@@ -64,8 +64,8 @@
def test_seedargs(self):
import _random
rnd = _random.Random()
- for arg in [None, 0, 0L, 1, 1L, -1, -1L, 10**20, -(10**20),
- 3.14, 1+2j, 'a', tuple('abc'), 0xffffffffffL]:
+ for arg in [None, 0, 1, -1, 10**20, -(10**20),
+ 3.14, 1+2j, 'a', tuple('abc'), 0xffffffffff]:
rnd.seed(arg)
for arg in [[1, 2, 3], dict(one=1)]:
raises(TypeError, rnd.seed, arg)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit