1. Pypy
  2. Untitled project
  3. pypy

Commits

Amaury Forgeot d'Arc  committed 6a70d2e

Appdirect tests really run too fast. Slow down a little

  • Participants
  • Parent commits f434ee4
  • Branches default

Comments (0)

Files changed (1)

File pypy/module/thread/test/test_thread.py

View file
  • Ignore whitespace
 
         def busy_wait():
             for x in range(1000):
-                pass
+                time.sleep(0.01)
 
         # This is normally called by app_main.py
         signal.signal(signal.SIGINT, signal.default_int_handler)