| 1 |
pytest-2.3.3: integration fixes, py24 support, ``*/**`` shown in traceback |
| 2 |
=========================================================================== |
| 3 |
|
| 4 |
pytest-2.3.3 is another stabilization release of the py.test tool |
| 5 |
which offers uebersimple assertions, scalable fixture mechanisms |
| 6 |
and deep customization for testing with Python. Particularly, |
| 7 |
this release provides: |
| 8 |
|
| 9 |
- integration fixes and improvements related to flask, numpy, nose, |
| 10 |
unittest, mock |
| 11 |
|
| 12 |
- makes pytest work on py24 again (yes, people sometimes still need to use it) |
| 13 |
|
| 14 |
- show ``*,**`` args in pytest tracebacks |
| 15 |
|
| 16 |
Thanks to Manuel Jacob, Thomas Waldmann, Ronny Pfannschmidt, Pavel Repin |
| 17 |
and Andreas Taumoefolau for providing patches and all for the issues. |
| 18 |
|
| 19 |
See |
| 20 |
|
| 21 |
http://pytest.org/ |
| 22 |
|
| 23 |
for general information. To install or upgrade pytest: |
| 24 |
|
| 25 |
pip install -U pytest # or |
| 26 |
easy_install -U pytest |
| 27 |
|
| 28 |
best, |
| 29 |
holger krekel |
| 30 |
|
| 31 |
Changes between 2.3.2 and 2.3.3 |
| 32 |
----------------------------------- |
| 33 |
|
| 34 |
- fix issue214 - parse modules that contain special objects like e. g. |
| 35 |
flask's request object which blows up on getattr access if no request |
| 36 |
is active. thanks Thomas Waldmann. |
| 37 |
|
| 38 |
- fix issue213 - allow to parametrize with values like numpy arrays that |
| 39 |
do not support an __eq__ operator |
| 40 |
|
| 41 |
- fix issue215 - split test_python.org into multiple files |
| 42 |
|
| 43 |
- fix issue148 - @unittest.skip on classes is now recognized and avoids |
| 44 |
calling setUpClass/tearDownClass, thanks Pavel Repin |
| 45 |
|
| 46 |
- fix issue209 - reintroduce python2.4 support by depending on newer |
| 47 |
pylib which re-introduced statement-finding for pre-AST interpreters |
| 48 |
|
| 49 |
- nose support: only call setup if it's a callable, thanks Andrew |
| 50 |
Taumoefolau |
| 51 |
|
| 52 |
- fix issue219 - add py2.4-3.3 classifiers to TROVE list |
| 53 |
|
| 54 |
- in tracebacks *,** arg values are now shown next to normal arguments |
| 55 |
(thanks Manuel Jacob) |
| 56 |
|
| 57 |
- fix issue217 - support mock.patch with pytest's fixtures - note that |
| 58 |
you need either mock-1.0.1 or the python3.3 builtin unittest.mock. |
| 59 |
|
| 60 |
- fix issue127 - improve documentation for pytest_addoption() and |
| 61 |
add a ``config.getoption(name)`` helper function for consistency. |