Author: Matti Picus <[email protected]>
Branch: py3.5
Changeset: r93558:0f5ba74055d1
Date: 2017-12-24 23:37 +0200
http://bitbucket.org/pypy/pypy/changeset/0f5ba74055d1/
Log: skip this on win32, the setup_class is run with python but the test
with pypy3
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
@@ -194,8 +194,8 @@
assert sorted(lst) == list(range(120))
def test_many_threads(self):
- import _thread, time
- if self.can_start_many_threads:
+ import _thread, time, sys
+ if self.can_start_many_threads or sys.platform == 'win32':
skip("this OS supports too many threads to check (> 1000)")
lock = _thread.allocate_lock()
lock.acquire()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit