[pypy-svn] pypy default: Appdirect tests really run too fast. Slow down a little
amauryfa
commits-noreply at bitbucket.org
Fri Mar 25 23:00:47 CET 2011
Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch:
Changeset: r42949:6a70d2e055d6
Date: 2011-03-25 23:00 +0100
http://bitbucket.org/pypy/pypy/changeset/6a70d2e055d6/
Log: Appdirect tests really run too fast. Slow down a little
diff --git a/pypy/module/thread/test/test_thread.py b/pypy/module/thread/test/test_thread.py
--- a/pypy/module/thread/test/test_thread.py
+++ b/pypy/module/thread/test/test_thread.py
@@ -225,7 +225,7 @@
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)
More information about the Pypy-commit
mailing list