Author: mattip <[email protected]>
Branch: py3.3
Changeset: r83092:f93e216f53f3
Date: 2016-03-16 22:15 +0200
http://bitbucket.org/pypy/pypy/changeset/f93e216f53f3/
Log: minimize diff to default to make test pass
diff --git a/pypy/module/__pypy__/test/test_signal.py
b/pypy/module/__pypy__/test/test_signal.py
--- a/pypy/module/__pypy__/test/test_signal.py
+++ b/pypy/module/__pypy__/test/test_signal.py
@@ -57,10 +57,10 @@
interrupted = []
print('--- start ---')
_thread.start_new_thread(subthread, ())
- for j in range(100):
+ for j in range(30):
if len(done): break
print('.')
- time.sleep(0)
+ time.sleep(0.25)
print('main thread loop done')
assert len(done) == 1
assert len(interrupted) == 1
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit