small improvements, add assertion improvement to CHANGELOG

This commit is contained in:
holger krekel 2010-12-10 12:28:04 +01:00
parent 8631c1f57a
commit 0ec5f3fd6c
3 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,7 @@
Changes between 2.0.0 and 2.0.1.dev1 Changes between 2.0.0 and 2.0.1.devX
---------------------------------------------- ----------------------------------------------
- improve assertions ("not in"), thanks Floris
- improve behaviour/warnings when running on top of "python -OO" - improve behaviour/warnings when running on top of "python -OO"
(assertions and docstrings are turned off, leading to potential (assertions and docstrings are turned off, leading to potential
false positives) false positives)

View File

@ -9,6 +9,6 @@ def test_failure_demo_fails_properly(testdir):
failure_demo.copy(testdir.tmpdir.join(failure_demo.basename)) failure_demo.copy(testdir.tmpdir.join(failure_demo.basename))
result = testdir.runpytest(target) result = testdir.runpytest(target)
result.stdout.fnmatch_lines([ result.stdout.fnmatch_lines([
"*35 failed*" "*39 failed*"
]) ])
assert result.ret != 0 assert result.ret != 0

View File

@ -45,6 +45,7 @@ Some organisations using py.test
* `Tandberg <http://www.tandberg.com/>`_ * `Tandberg <http://www.tandberg.com/>`_
* `Shootq <http://web.shootq.com/>`_ * `Shootq <http://web.shootq.com/>`_
* `Stups department of Heinrich Heine University Düsseldorf <http://www.stups.uni-duesseldorf.de/projects.php>`_ * `Stups department of Heinrich Heine University Düsseldorf <http://www.stups.uni-duesseldorf.de/projects.php>`_
* `cellzome`_ <http://www.cellzome.com/>`_
* `Open End, Gotenborg <http://www.openend.se>`_ * `Open End, Gotenborg <http://www.openend.se>`_
* `Laboraratory of Bioinformatics, Warsaw <http://genesilico.pl/>`_ * `Laboraratory of Bioinformatics, Warsaw <http://genesilico.pl/>`_
* `merlinux, Germany <http://merlinux.eu>`_ * `merlinux, Germany <http://merlinux.eu>`_