Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r52275:55591785a2fb
Date: 2012-02-09 12:24 +0100
http://bitbucket.org/pypy/pypy/changeset/55591785a2fb/
Log: fix the syntax, and forget about longs
diff --git a/pypy/interpreter/test/test_compiler.py
b/pypy/interpreter/test/test_compiler.py
--- a/pypy/interpreter/test/test_compiler.py
+++ b/pypy/interpreter/test/test_compiler.py
@@ -789,9 +789,9 @@
def test_tuple_constants(self):
ns = {}
- exec "x = (1, 0); y = (1L, 0L)" in ns
+ exec("x = (1, 0); y = (1., 0.)", ns)
assert isinstance(ns["x"][0], int)
- assert isinstance(ns["y"][0], long)
+ assert isinstance(ns["y"][0], float)
def test_division_folding(self):
def code(source):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit