Accepting request 308505 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/308505 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=17
This commit is contained in:
@@ -1,3 +1,123 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 24 10:57:07 UTC 2015 - toddrme2178@gmail.com
|
||||
|
||||
- Split documentation into separate package to avoid build loop
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 21 13:44:26 UTC 2015 - toddrme2178@gmail.com
|
||||
|
||||
- It doesn't need Twisted, and the dependency causes a build cycle.
|
||||
So it is removed from BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 20 14:03:37 UTC 2015 - toddrme2178@gmail.com
|
||||
|
||||
- Update to version 2.7.1:
|
||||
* fix issue731: do not get confused by the braces which may be
|
||||
present and unbalanced in an object's repr while collapsing
|
||||
False explanations. Thanks Carl Meyer for the report and test
|
||||
case.
|
||||
* fix issue553: properly handling inspect.getsourcelines
|
||||
failures in FixtureLookupError which would lead to to an
|
||||
internal error, obfuscating the original problem. Thanks
|
||||
talljosh for initial diagnose/patch and Bruno Oliveira for
|
||||
final patch.
|
||||
* fix issue660: properly report scope-mismatch-access errors
|
||||
independently from ordering of fixture arguments. Also
|
||||
avoid the pytest internal traceback which does not provide
|
||||
information to the user. Thanks Holger Krekel.
|
||||
* streamlined and documented release process. Also all
|
||||
versions (in setup.py and documentation generation) are now
|
||||
read from _pytest/__init__.py. Thanks Holger Krekel.
|
||||
* fixed docs to remove the notion that yield-fixtures are
|
||||
experimental. They are here to stay :) Thanks Bruno Oliveira.
|
||||
* Support building wheels by using environment markers for the
|
||||
requirements. Thanks Ionel Maries Cristian.
|
||||
* fixed regression to 2.6.4 which surfaced e.g. in lost stdout
|
||||
capture printing when tests raised SystemExit. Thanks
|
||||
Holger Krekel.
|
||||
* reintroduced _pytest fixture of the pytester plugin which
|
||||
is used at least by pytest-xdist.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 5 05:51:50 UTC 2015 - tbechtold@suse.com
|
||||
|
||||
- update to 2.7.0:
|
||||
- fix issue435: make reload() work when assert rewriting is active.
|
||||
Thanks Daniel Hahler.
|
||||
- fix issue616: conftest.py files and their contained fixutres are now
|
||||
properly considered for visibility, independently from the exact
|
||||
current working directory and test arguments that are used.
|
||||
Many thanks to Eric Siegerman and his PR235 which contains
|
||||
systematic tests for conftest visibility and now passes.
|
||||
This change also introduces the concept of a ``rootdir`` which
|
||||
is printed as a new pytest header and documented in the pytest
|
||||
customize web page.
|
||||
- change reporting of "diverted" tests, i.e. tests that are collected
|
||||
in one file but actually come from another (e.g. when tests in a test class
|
||||
come from a base class in a different file). We now show the nodeid
|
||||
and indicate via a postfix the other file.
|
||||
- add ability to set command line options by environment
|
||||
variable PYTEST_ADDOPTS.
|
||||
- added documentation on the new pytest-dev teams on bitbucket and
|
||||
github. See https://pytest.org/latest/contributing.html .
|
||||
Thanks to Anatoly for pushing and initial work on this.
|
||||
- fix issue650: new option ``--docttest-ignore-import-errors`` which
|
||||
will turn import errors in doctests into skips. Thanks Charles Cloud
|
||||
for the complete PR.
|
||||
- fix issue655: work around different ways that cause python2/3
|
||||
to leak sys.exc_info into fixtures/tests causing failures in 3rd party code
|
||||
- fix issue615: assertion re-writing did not correctly escape % signs
|
||||
when formatting boolean operations, which tripped over mixing
|
||||
booleans with modulo operators. Thanks to Tom Viner for the report,
|
||||
triaging and fix.
|
||||
- implement issue351: add ability to specify parametrize ids as a callable
|
||||
to generate custom test ids. Thanks Brianna Laugher for the idea and
|
||||
implementation.
|
||||
- introduce and document new hookwrapper mechanism useful for plugins
|
||||
which want to wrap the execution of certain hooks for their purposes.
|
||||
This supersedes the undocumented ``__multicall__`` protocol which
|
||||
pytest itself and some external plugins use. Note that pytest-2.8
|
||||
is scheduled to drop supporting the old ``__multicall__``
|
||||
and only support the hookwrapper protocol.
|
||||
- majorly speed up invocation of plugin hooks
|
||||
- use hookwrapper mechanism in builtin pytest plugins.
|
||||
- add a doctest ini option for doctest flags, thanks Holger Peters.
|
||||
- add note to docs that if you want to mark a parameter and the
|
||||
parameter is a callable, you also need to pass in a reason to disambiguate
|
||||
it from the "decorator" case. Thanks Tom Viner.
|
||||
- "python_classes" and "python_functions" options now support glob-patterns
|
||||
for test discovery, as discussed in issue600. Thanks Ldiary Translations.
|
||||
- allow to override parametrized fixtures with non-parametrized ones and
|
||||
vice ver sa (bubenkoff).
|
||||
- fix issue463: raise specific error for 'parameterize' misspelling
|
||||
(pfctdayelise ).
|
||||
- On failure, the ``sys.last_value``, ``sys.last_type`` and
|
||||
``sys.last_traceback`` are set, so that a user can inspect the error
|
||||
via postmortem debugging (almarklein).
|
||||
- Bump Requires/BuildRequires for python-py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 25 14:00:17 UTC 2015 - mcihar@suse.cz
|
||||
|
||||
- Add optional dependencies for testsuite as BuildRequires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 25 13:48:01 UTC 2015 - mcihar@suse.cz
|
||||
|
||||
- Update to 2.6.4:
|
||||
- Improve assertion failure reporting on iterables, by using ndiff and pprint.
|
||||
- removed outdated japanese docs from source tree.
|
||||
- docs for "pytest_addhooks" hook. Thanks Bruno Oliveira.
|
||||
- updated plugin index docs. Thanks Bruno Oliveira.
|
||||
- fix issue557: with "-k" we only allow the old style "-" for negation
|
||||
at the beginning of strings and even that is deprecated. Use "not" instead.
|
||||
This should allow to pick parametrized tests where "-" appeared in the parameter.
|
||||
- fix issue604: Escape % character in the assertion message.
|
||||
- fix issue620: add explanation in the --genscript target about what
|
||||
the binary blob means. Thanks Dinu Gherman.
|
||||
- fix issue614: fixed pastebin support.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 08 20:29:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user