Author: Maciej Fijalkowski <[email protected]>
Branch: kill-someobject
Changeset: r58050:d7b6ce9b6a02
Date: 2012-10-12 16:12 +0200
http://bitbucket.org/pypy/pypy/changeset/d7b6ce9b6a02/
Log: fix test_os
diff --git a/pypy/rpython/module/test/test_ll_os.py
b/pypy/rpython/module/test/test_ll_os.py
--- a/pypy/rpython/module/test/test_ll_os.py
+++ b/pypy/rpython/module/test/test_ll_os.py
@@ -31,7 +31,7 @@
five-tuple giving float-representations (seconds, effectively) of the four
fields from the underlying struct tms and the return value.
"""
- times = compile(lambda: os.times(), ())()
+ times = eval(compile(lambda: str(os.times()), ())())
assert isinstance(times, tuple)
assert len(times) == 5
for value in times:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit