1. Pypy
  2. Untitled project
  3. pypy

Commits

Maciej Fijalkowski  committed d7b6ce9

fix test_os

  • Participants
  • Parent commits 88dedeb
  • Branches kill-someobject

Comments (0)

Files changed (1)

File pypy/rpython/module/test/test_ll_os.py

View file
     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: