Merge pull request #2924 from nicoddemus/merge-master-into-features
Merge master into features
This commit is contained in:
commit
7b3febd314
|
@ -8,6 +8,53 @@
|
||||||
|
|
||||||
.. towncrier release notes start
|
.. towncrier release notes start
|
||||||
|
|
||||||
|
Pytest 3.2.4 (2017-11-13)
|
||||||
|
=========================
|
||||||
|
|
||||||
|
Bug Fixes
|
||||||
|
---------
|
||||||
|
|
||||||
|
- Fix the bug where running with ``--pyargs`` will result in items with
|
||||||
|
empty ``parent.nodeid`` if run from a different root directory. (`#2775
|
||||||
|
<https://github.com/pytest-dev/pytest/issues/2775>`_)
|
||||||
|
|
||||||
|
- Fix issue with ``@pytest.parametrize`` if argnames was specified as keyword arguments.
|
||||||
|
(`#2819 <https://github.com/pytest-dev/pytest/issues/2819>`_)
|
||||||
|
|
||||||
|
- Strip whitespace from marker names when reading them from INI config. (`#2856
|
||||||
|
<https://github.com/pytest-dev/pytest/issues/2856>`_)
|
||||||
|
|
||||||
|
- Show full context of doctest source in the pytest output, if the line number of
|
||||||
|
failed example in the docstring is < 9. (`#2882
|
||||||
|
<https://github.com/pytest-dev/pytest/issues/2882>`_)
|
||||||
|
|
||||||
|
|
||||||
|
Improved Documentation
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
- Introduce a dedicated section about conftest.py. (`#1505
|
||||||
|
<https://github.com/pytest-dev/pytest/issues/1505>`_)
|
||||||
|
|
||||||
|
- Explicitly mention ``xpass`` in the documentation of ``xfail``. (`#1997
|
||||||
|
<https://github.com/pytest-dev/pytest/issues/1997>`_)
|
||||||
|
|
||||||
|
- Append example for pytest.param in the example/parametrize document. (`#2658
|
||||||
|
<https://github.com/pytest-dev/pytest/issues/2658>`_)
|
||||||
|
|
||||||
|
- Clarify language of proposal for fixtures parameters (`#2893
|
||||||
|
<https://github.com/pytest-dev/pytest/issues/2893>`_)
|
||||||
|
|
||||||
|
- List python 3.6 in the documented supported versions in the getting started
|
||||||
|
document. (`#2903 <https://github.com/pytest-dev/pytest/issues/2903>`_)
|
||||||
|
|
||||||
|
- Clarify the documentation of available fixture scopes. (`#538
|
||||||
|
<https://github.com/pytest-dev/pytest/issues/538>`_)
|
||||||
|
|
||||||
|
- Add documentation about the ``python -m pytest`` invocation adding the
|
||||||
|
current directory to sys.path. (`#911
|
||||||
|
<https://github.com/pytest-dev/pytest/issues/911>`_)
|
||||||
|
|
||||||
|
|
||||||
Pytest 3.2.3 (2017-10-03)
|
Pytest 3.2.3 (2017-10-03)
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Introduce a dedicated section about conftest.py.
|
|
|
@ -1 +0,0 @@
|
||||||
Explicitly mention ``xpass`` in the documentation of ``xfail``.
|
|
|
@ -1 +0,0 @@
|
||||||
Append example for pytest.param in the example/parametrize document.
|
|
|
@ -1 +0,0 @@
|
||||||
Fix the bug where running pytest with "--pyargs" will result in Items with empty "parent.nodeid" if run from a different root directory.
|
|
|
@ -1 +0,0 @@
|
||||||
Fix issue with @pytest.parametrize if argnames was specified as kwarg.
|
|
|
@ -1 +0,0 @@
|
||||||
Strip whitespace from marker names when reading them from INI config.
|
|
|
@ -1 +0,0 @@
|
||||||
Show full context of doctest source in the pytest output, if the lineno of failed example in the docstring is < 9.
|
|
|
@ -1 +0,0 @@
|
||||||
Clarify language of proposal for fixtures parameters
|
|
|
@ -1 +0,0 @@
|
||||||
List python 3.6 in the documented supported versions in the getting started document.
|
|
|
@ -1 +0,0 @@
|
||||||
Clarify the documentation of available fixture scopes.
|
|
|
@ -1 +0,0 @@
|
||||||
Add documentation about the ``python -m pytest`` invocation adding the current directory to sys.path.
|
|
|
@ -6,6 +6,7 @@ Release announcements
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
|
|
||||||
|
release-3.2.4
|
||||||
release-3.2.3
|
release-3.2.3
|
||||||
release-3.2.2
|
release-3.2.2
|
||||||
release-3.2.1
|
release-3.2.1
|
||||||
|
|
|
@ -0,0 +1,36 @@
|
||||||
|
pytest-3.2.4
|
||||||
|
=======================================
|
||||||
|
|
||||||
|
pytest 3.2.4 has just been released to PyPI.
|
||||||
|
|
||||||
|
This is a bug-fix release, being a drop-in replacement. To upgrade::
|
||||||
|
|
||||||
|
pip install --upgrade pytest
|
||||||
|
|
||||||
|
The full changelog is available at http://doc.pytest.org/en/latest/changelog.html.
|
||||||
|
|
||||||
|
Thanks to all who contributed to this release, among them:
|
||||||
|
|
||||||
|
* Bruno Oliveira
|
||||||
|
* Christian Boelsen
|
||||||
|
* Christoph Buchner
|
||||||
|
* Daw-Ran Liou
|
||||||
|
* Florian Bruhin
|
||||||
|
* Franck Michea
|
||||||
|
* Leonard Lausen
|
||||||
|
* Matty G
|
||||||
|
* Owen Tuz
|
||||||
|
* Pavel Karateev
|
||||||
|
* Pierre GIRAUD
|
||||||
|
* Ronny Pfannschmidt
|
||||||
|
* Stephen Finucane
|
||||||
|
* Sviatoslav Abakumov
|
||||||
|
* Thomas Hisch
|
||||||
|
* Tom Dalton
|
||||||
|
* Xuan Luong
|
||||||
|
* Yorgos Pagles
|
||||||
|
* Семён Марьясин
|
||||||
|
|
||||||
|
|
||||||
|
Happy testing,
|
||||||
|
The pytest Development Team
|
|
@ -358,7 +358,7 @@ get on the terminal - we are working on that)::
|
||||||
> int(s)
|
> int(s)
|
||||||
E ValueError: invalid literal for int() with base 10: 'qwe'
|
E ValueError: invalid literal for int() with base 10: 'qwe'
|
||||||
|
|
||||||
<0-codegen $PYTHON_PREFIX/lib/python3.5/site-packages/_pytest/python_api.py:579>:1: ValueError
|
<0-codegen $PYTHON_PREFIX/lib/python3.5/site-packages/_pytest/python_api.py:580>:1: ValueError
|
||||||
_______ TestRaises.test_raises_doesnt ________
|
_______ TestRaises.test_raises_doesnt ________
|
||||||
|
|
||||||
self = <failure_demo.TestRaises object at 0xdeadbeef>
|
self = <failure_demo.TestRaises object at 0xdeadbeef>
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -45,7 +45,7 @@ def has_environment_marker_support():
|
||||||
def main():
|
def main():
|
||||||
extras_require = {}
|
extras_require = {}
|
||||||
install_requires = [
|
install_requires = [
|
||||||
'py>=1.4.33',
|
'py>=1.4.33,<1.5',
|
||||||
'six>=1.10.0',
|
'six>=1.10.0',
|
||||||
'setuptools',
|
'setuptools',
|
||||||
'attrs>=17.2.0',
|
'attrs>=17.2.0',
|
||||||
|
|
Loading…
Reference in New Issue