Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #735

pytest-2.3.2: bug fixes, unittest/trial compat, speed

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsfeed.datemas.de!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <holger@merlinux.eu>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'exception': 0.03; 'fixes': 0.05; 'subject:bug': 0.05; 'bits': 0.07; 'setup.py': 0.07; 'unittest': 0.07; 'objects.': 0.09; 'regression': 0.09; 'skip:= 70': 0.10; 'cases': 0.15; 'properly': 0.15; '"python': 0.16; 'conftest': 0.16; 'customizing': 0.16; 'easy_install': 0.16; 'krekel': 0.16; 'maintainers': 0.16; 'pytest': 0.16; 'received:eu': 0.16; 'subdirs': 0.16; 'subject:fixes': 0.16; 'subject:unittest': 0.16; 'tracebacks': 0.16; 'fix': 0.17; 'config': 0.17; 'passes': 0.17; 'pfxlen:0': 0.17; 'tests': 0.18; 'changes': 0.20; 'packaging': 0.20; 'holger': 0.22; 'defined': 0.22; 'to:2**1': 0.23; 'header:User-Agent:1': 0.26; 'subject:/': 0.28; 'run': 0.28; 'behaviour': 0.29; 'install': 0.29; 'related': 0.30; 'skip:- 30': 0.31; 'docs': 0.33; 'another': 0.33; 'version': 0.34; 'there': 0.35; 'add': 0.36; 'skip:u 20': 0.36; 'url:org': 0.36; 'modules': 0.36; 'to:addr:codespeak.net': 0.36; 'method': 0.36; 'test': 0.36; 'charset:us-ascii': 0.36; 'skip:p 20': 0.36; 'bad': 0.37; 'best,': 0.37; 'itself': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'release': 0.39; 'called': 0.39; 'subject:-': 0.40; 'content-disposition:inline': 0.60; 'subject:, ': 0.61; 'between': 0.63; 'respect': 0.63; 'more': 0.63; 'received:85': 0.65; 'improvements': 0.65; 'to:addr :python-announce-list': 0.65; 'trial': 0.81; '2.3.1': 0.84; '2.3.2': 0.84; 'others:': 0.84; 'setups': 0.84; 'support:': 0.91
Date Thu, 25 Oct 2012 11:53:56 +0000
From holger krekel <holger@merlinux.eu>
To py-dev@codespeak.net, python announce <python-announce-list@python.org>
Subject pytest-2.3.2: bug fixes, unittest/trial compat, speed
Mail-Followup-To holger krekel <holger@merlinux.eu>, py-dev@codespeak.net, python announce <python-announce-list@python.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.20 (2009-06-14)
X-Mailman-Approved-At Thu, 25 Oct 2012 15:38:46 +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 <python-announce-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Newsgroups comp.lang.python.announce
Message-ID <mailman.2841.1351172327.27098.python-announce-list@python.org> (permalink)
Lines 58
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1351172327 news.xs4all.nl 6926 [2001:888:2000:d::a6]:52629
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python.announce:735

Show key headers only | View raw


pytest-2.3.2: some fixes and more traceback-printing speed
===========================================================================

pytest-2.3.2 is another stabilization release with a few improvements:

- issue 205: fixes a regression with conftest detection
- issue 208/29: fixes traceback-printing speed in some bad cases
- fix teardown-ordering for parametrized setups
- fix unittest and trial compat behaviour with respect  to runTest() methods
- issue 206 and others: some improvements to packaging
- fix issue127 and others: improve some docs

See

     http://pytest.org/

for general information.  To install or upgrade pytest:

    pip install -U pytest # or
    easy_install -U pytest

best,
holger krekel


Changes between 2.3.1 and 2.3.2
-----------------------------------

- fix issue208 and fix issue29 use new py version to avoid long pauses 
  when printing tracebacks in long modules

- fix issue205 - conftests in subdirs customizing
  pytest_pycollect_makemodule and pytest_pycollect_makeitem
  now work properly

- fix teardown-ordering for parametrized setups

- fix issue127 - better documentation for pytest_addoption
  and related objects.

- fix unittest behaviour: TestCase.runtest only called if there are
  test methods defined

- improve trial support: don't collect its empty
  unittest.TestCase.runTest() method

- "python setup.py test" now works with pytest itself

- fix/improve internal/packaging related bits:

  - exception message check of test_nose.py now passes on python33 as well

  - issue206 - fix test_assertrewrite.py to work when a global
    PYTHONDONTWRITEBYTECODE=1 is present

  - add tox.ini to pytest distribution so that ignore-dirs and others config
    bits are properly distributed for maintainers who run pytest-own tests

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

pytest-2.3.2: bug fixes, unittest/trial compat, speed holger krekel <holger@merlinux.eu> - 2012-10-25 11:53 +0000

csiph-web