Author: mattip <matti.pi...@gmail.com> Branch: Changeset: r83084:aaec8eb09c6a Date: 2016-03-16 20:23 +0200 http://bitbucket.org/pypy/pypy/changeset/aaec8eb09c6a/
Log: descriptors must fit on one line for appdef() diff --git a/pypy/module/thread/test/test_lock.py b/pypy/module/thread/test/test_lock.py --- a/pypy/module/thread/test/test_lock.py +++ b/pypy/module/thread/test/test_lock.py @@ -3,7 +3,7 @@ import sys, os from pypy.module.thread.test.support import GenericTestThread from rpython.translator.c.test.test_genc import compile -import platform +from platform import machine class AppTestLock(GenericTestThread): @@ -64,8 +64,7 @@ else: assert self.runappdirect, "missing lock._py3k_acquire()" - @py.test.mark.xfail(platform.machine() == 's390x', - reason='may fail this test under heavy load') + @py.test.mark.xfail(machine()=='s390x', reason='may fail under heavy load') def test_ping_pong(self): # The purpose of this test is that doing a large number of ping-pongs # between two threads, using locks, should complete in a reasonable _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit