Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-announce-list@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'argument': 0.04; 'debug': 0.05; 'skip:` 10': 0.05; 'url:bitbucket': 0.05; 'default.': 0.07; 'welcome.': 0.07; 'python': 0.09; 'abort': 0.09; 'aborted': 0.09; 'dumps': 0.09; 'positional': 0.09; 'received:mail-lpp01m010-f46.google.com': 0.09; 'specifying': 0.09; 'timeout': 0.09; 'bug': 0.10; 'stack': 0.15; 'argument.': 0.16; 'bitbucket': 0.16; 'marker': 0.16; 'threads': 0.16; 'timeout.': 0.16; 'specify': 0.17; 'tests': 0.18; 'sender:addr:gmail.com': 0.18; 'variable': 0.20; 'tracker': 0.20; 'all,': 0.21; 'work.': 0.23; 'command': 0.24; 'allows': 0.25; 'message-id:@mail.gmail.com': 0.27; 'environment': 0.29; 'integration': 0.29; 'e.g.': 0.30; 'received:209.85.215.46': 0.30; 'feedback': 0.30; 'server.': 0.32; 'url:python': 0.32; 'file': 0.32; 'handle': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'there': 0.35; 'url:org': 0.36; 'announce': 0.36; 'to:addr:codespeak.net': 0.36; 'method': 0.36; 'useful': 0.36; 'test': 0.36; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'release': 0.39; 'subject:-': 0.40; 'header:Received:5': 0.40; 'help': 0.40; 'to:2**2': 0.62; 'more': 0.63; 'continuous': 0.65; 'to:addr :python-announce-list': 0.65; 'pleased': 0.66; 'url:0': 0.67; 'to:no real name:2**2': 0.69; 'hanging': 0.84; 'issues:': 0.84; 'subject:long': 0.84; 'subject:running': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=UGN7PDTmgySgiKXARyMwqYB0SDuOnpeqtY8CJwPUem8=; b=AuEsd4sOe+Aqq0+WlpX14tYixmeyzu2xe/a2ibfXeUHrk/G7fNnaJ5J8HBogIbiKQo oNj5PY5UKKOe0iUtrTjETDcryfg/MA8Vtn+w1rt9SozDB6bl49FVt+39HHH2LHAnM7wz cvjh4emR2/+3NAYSg3X4IYdomyXYuzU/Qvrjxd7QYCWTx9PR1vFnKpqGwUge3ixbKb21 j+En/BcB/0h4YvBRTDLPVYnRi6zPMn1yJAtzHV3XPU5WktAMmeHEb68iIaJl2NEdbfyd KUKH3f1rh73UpTwHyvXyVHSmGVm/wh/u9CJSzTOpY5gb33L79LXMXuZzODTagVMayCXT aDOw== MIME-Version: 1.0 Sender: floris.bruynooghe@gmail.com Date: Wed, 19 Sep 2012 01:00:15 +0100 X-Google-Sender-Auth: EoZUNcDuLmuDSn4k5qL2XmmxtGM Subject: pytest-timeout 0.3: py.test plugin to abort long-running tests From: Floris Bruynooghe To: py-dev@codespeak.net, testing-in-python@lists.idyll.org, python-announce-list@python.org Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Wed, 19 Sep 2012 20:12:08 +0200 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: python-list@python.org List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Approved: python-announce-list@python.org Newsgroups: comp.lang.python.announce Message-ID: Lines: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1348078329 news.xs4all.nl 6851 [2001:888:2000:d::a6]:41216 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python.announce:690 Hello all, I am pleased to announce the release of pytest-timeout 0.3. http://pypi.python.org/pypi/pytest-timeout/0.3 pytest-timeout is a plugin for py.test which allows you to abort tests after a specific timeout. This is useful to e.g. handle hanging tests on a continuous integration server. When tests are aborted you will get stack dumps of all threads in the python process to help you debug why the test hung. All feedback is welcome. Please use the bug tracker on bitbucket to report any issues: https://bitbucket.org/flub/pytest-timeout/ Changelog since 0.2: * Added the PYTEST_TIMEOUT environment variable as a way of specifying the timeout (closes issue #2). * More flexible marker argument parsing: you can now specify the method using a positional argument. * The plugin is now enabled by default. There is no longer a need to specify ``timeout=0`` in the configuration file or on the command line simply so that a marker would work. Regards, Floris