Subject: CVS commit: pkgsrc/devel/py-test
From: Adam Ciarcinski
Date: 2019-06-02 10:31:27
Message id: 20190602083127.AC4A5FBB7@cvs.NetBSD.org

Log Message:
py-test: updated to 4.6.0

pytest 4.6.0:

Important
The 4.6.X series will be the last series to support Python 2 and Python 3.4.

Features
* Added the junit_log_passing_tests ini value which can be used to enable or \ 
disable logging of passing test output in the Junit XML file.
* pytester’s testdir.spawn uses tmpdir as HOME/USERPROFILE directory.
* Unroll calls to all to full for-loops with assertion rewriting for better \ 
failure messages, especially when using Generator Expressions.
* Switch from pkg_resources to importlib-metadata for entrypoint detection for \ 
improved performance and import time.
* The output for ini options in --help has been improved.
* pytest.importorskip includes the ImportError now in the default reason.
* Captured logs that are output for each failing test are formatted using the \ 
ColoredLevelFormatter.
* Improved formatting of multiline log messages in Python 3.
Bug Fixes

* The debugging plugin imports the wrapped Pdb class (--pdbcls) on-demand now.
* The pytest_enter_pdb hook gets called with post-mortem (--pdb).
* Fix issue where fixtures dependent on other parametrized fixtures would be \ 
erroneously parametrized.
* Handle internal error due to a lone surrogate unicode character not being \ 
representable in Jython.
* Ensure that sys.stdout.mode does not include 'b' as it is a text stream.
* Pytest’s internal python plugin can be disabled using -p no:python again.
* Fix issue with \ 
disable_test_id_escaping_and_forfeit_all_rights_to_community_support option not \ 
working when using a list of test IDs in parametrized tests.
* Show the test module being collected when emitting PytestCollectionWarning \ 
messages for test classes with __init__ and __new__ methods to make it easier to \ 
pin down the problem.
* Fix regression in 4.5.0 with --lf not re-running all tests with known failures \ 
from non-selected tests.

Improved Documentation
* Expand docs on use of setenv and delenv with monkeypatch.

Files:
RevisionActionfile
1.80modifypkgsrc/devel/py-test/Makefile
1.73modifypkgsrc/devel/py-test/distinfo