[pypy-svn] r13811 - pypy/dist/pypy/rpython/test
tismer at codespeak.net
tismer at codespeak.net
Fri Jun 24 16:17:07 CEST 2005
Author: tismer
Date: Fri Jun 24 16:17:06 2005
New Revision: 13811
Modified:
pypy/dist/pypy/rpython/test/test_rbuiltin.py (contents, props changed)
Log:
fixeol
Modified: pypy/dist/pypy/rpython/test/test_rbuiltin.py
==============================================================================
--- pypy/dist/pypy/rpython/test/test_rbuiltin.py (original)
+++ pypy/dist/pypy/rpython/test/test_rbuiltin.py Fri Jun 24 16:17:06 2005
@@ -1,21 +1,21 @@
-from pypy.rpython.test.test_llinterp import interpret
-
-def test_rbuiltin_list():
- def f():
- l=list((1,2,3))
- return l == [1,2,3]
- def g():
- l=list(('he','llo'))
- return l == ['he','llo']
- def r():
- l = ['he','llo']
- l1=list(l)
- return l == l1 and l is not l1
- result = interpret(f,[])
- assert result
-
- result = interpret(g,[])
- assert result
-
- result = interpret(r,[])
+from pypy.rpython.test.test_llinterp import interpret
+
+def test_rbuiltin_list():
+ def f():
+ l=list((1,2,3))
+ return l == [1,2,3]
+ def g():
+ l=list(('he','llo'))
+ return l == ['he','llo']
+ def r():
+ l = ['he','llo']
+ l1=list(l)
+ return l == l1 and l is not l1
+ result = interpret(f,[])
+ assert result
+
+ result = interpret(g,[])
+ assert result
+
+ result = interpret(r,[])
assert result
\ No newline at end of file
More information about the Pypy-commit
mailing list