./devel/py-test, Python testing tool

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.6.6, Package name: py37-test-4.6.6, Maintainer: pkgsrc-users

The ``py.test`` testing tool makes it easy to write small tests, yet
scales to support complex functional testing. It provides
- auto-discovery of test modules and functions,
- detailed info on failing `assert statements
(no need to remember ``self.assert*`` names)
- modular fixtures for managing small or parametrized long-lived
test resources.
- multi-paradigm support: you can use ``py.test`` to run test suites based
on unittest (or trial), nose
- single-source compatibility to Python2.4 all the way up to Python3.3,
PyPy-1.9 and Jython-2.5.1.


Required to run:
[textproc/py-expat] [devel/py-setuptools] [devel/py-py] [lang/py-six] [devel/py-more-itertools] [devel/py-atomicwrites] [devel/py-pluggy] [devel/py-attrs] [devel/py-wcwidth] [devel/py-packaging] [lang/python37] [devel/py-importlib-metadata]

Required to build:
[pkgtools/cwrappers] [devel/py-setuptools_scm]

Master sites:

SHA1: 6b2e5766b509e9351c457f3d48c665a8e6842e87
RMD160: b75334c32ca7141775eac19281238fafde067803
Filesize: 932.519 KB

Version history: (Expand)


CVS history: (Expand)


   2019-11-15 23:51:15 by Tobias Nygren | Files touched by this commit (4)
Log message:
mk.mk? mk.
   2019-11-15 15:22:16 by Thomas Klausner | Files touched by this commit (5)
Log message:
*: use py-more-itertools via versioned_dependencies.mk
   2019-10-22 15:21:49 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 4.6.6

pytest 4.6.6:
Bug Fixes
* Fixed using multiple short options together in the command-line (for example \ 
-vs) in Python 3.8+.
* Replace importlib_metadata backport with importlib.metadata from the standard \ 
library on Python 3.8+.
* Fix “lexer” being used when uploading to bpaste.net from --pastebin to \ 
“text”.
* Fix warnings about deprecated cmp attribute in attrs>=19.2.

Trivial/Internal Changes
* Fixes python version checks (detected by flake8-2020) in case python4 becomes \ 
a thing.
   2019-08-22 13:06:28 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 4.6.5

pytest 4.6.5:
Bug Fixes
* Fix RuntimeError/StopIteration when trying to collect package with \ 
“__init__.py” only.
* Fix encode error when using unicode strings in exceptions with pytest.raises.
* Fix issue where tmp_path and tmpdir would not remove directories containing \ 
files marked as read-only, which could lead to pytest crashing when executed a \ 
second time with the --basetemp option.
* --step-wise now handles xfail(strict=True) markers properly.
* Improved output when parsing an ini configuration file fails.

pytest 4.6.4:
Bug Fixes
* Emit a warning when attempting to unwrap a broken object raises an exception, \ 
for easier debugging.
* Fix --stepwise mode when the first file passed on the command-line fails to \ 
collect.
* Fix bug introduced in 4.6.0 causing collection errors when passing more than 2 \ 
positional arguments to pytest.mark.parametrize.
* Fix crash when discovery fails while using -p no:terminal.
   2019-06-13 09:44:54 by Thomas Klausner | Files touched by this commit (1) | Package updated
Log message:
py-test: update to 4.6.3nb1.

From the 4.5.0 changelog:
- pytest now depends on wcwidth

Make it so.
   2019-06-12 12:03:49 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 4.6.3

pytest 4.6.3:
Bug Fixes
* -q has again an impact on the style of the collected items (--collect-only) \ 
when --log-cli-level is used.
* Fix regressions of 5063 for importlib_metadata.PathDistribution which have \ 
their files attribute being None.
* Fix regression where the obj attribute of TestCase items was no longer bound \ 
to methods.
   2019-06-05 07:11:46 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 4.6.2

pytest 4.6.2:
Bug Fixes
* Revert unrolling of all() to fix NameError on nested comprehensions.
* Revert unrolling of all() to fix incorrect handling of generators with if.
* Revert unrolling of all() to fix incorrect assertion when using all() in an \ 
expression
   2019-06-03 10:42:13 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 4.6.1

pytest 4.6.1:
Bug Fixes
* Fix pytest.mark.parametrize when the argvalues is an iterator.
* Fix assertion rewriting of all() calls to deal with non-generators.