Subject: CVS commit: pkgsrc/devel/py-test
From: Adam Ciarcinski
Date: 2017-11-28 10:04:56
Message id:

Log Message:
py-test: updated to 3.3.0

Pytest 3.3.0:

Deprecations and Removals
Pytest no longer supports Python 2.6 and 3.3. Those Python versions are EOL for \ 
some time now and incur maintenance and compatibility costs on the pytest core \ 
team, and following up with the rest of the community we decided that they will \ 
no longer be supported starting on this version. Users which still require those \ 
versions should pin pytest to <3.3.
Remove internal _preloadplugins() function. This removal is part of the \ 
pytest_namespace() hook deprecation.
Internally change CallSpec2 to have a list of marks instead of a broken mapping \ 
of keywords. This removes the keywords attribute of the internal CallSpec2 \ 
Remove ParameterSet.deprecated_arg_dict - its not a public api and the lack of \ 
the underscore was a naming error.
Remove the internal multi-typed attribute Node._evalskip and replace it with the \ 
boolean Node._skipped_by_mark.

pytest_fixture_post_finalizer hook can now receive a request argument.
Replace the old introspection code in that determines the available \ 
arguments of fixtures with inspect.signature on Python 3 and funcsigs.signature \ 
on Python 2. This should respect __signature__ declarations on functions.
Report tests with global pytestmark variable only once.
Now pytest displays the total progress percentage while running tests. The \ 
previous output style can be set by configuring the console_output_style setting \ 
to classic.
Match warns signature to raises by adding match keyword.
Pytest now captures and displays output from the standard logging module. The \ 
user can control the logging level to be captured by specifying options in \ 
pytest.ini, the command line and also during individual tests using markers. \ 
Also, a caplog fixture is available that enables users to test the captured log \ 
during specific tests (similar to capsys for example). For more information, \ 
please see the logging docs. This feature was introduced by merging the popular \ 
pytest-catchlog plugin, thanks to Thomas Hisch. Be advised that during the \ 
merging the backward compatibility interface with the defunct pytest-capturelog \ 
has been dropped.
Add allow_module_level kwarg to pytest.skip(), enabling to skip the whole module.
Allow setting file_or_dir, -c, and -o in PYTEST_ADDOPTS.
Return stdout/stderr capture results as a namedtuple, so out and ``err`` can be \ 
accessed by attribute.
Add capfdbinary, a version of capfd which returns bytes from readouterr().
Add capsysbinary a version of capsys which returns bytes from readouterr().
Implement feature to skip files when run with --doctest-modules.