Skip to content

Commit

Permalink
Chages 3.1.0:
Browse files Browse the repository at this point in the history
New Features

* The ``pytest-warnings`` plugin has been integrated into the core, so now ``pytest`` automatica
lly
  captures and displays warnings at the end of the test session.

* Added ``junit_suite_name`` ini option to specify root `<testsuite>` name for JUnit XML reports

* Added an ini option ``doctest_encoding`` to specify which encoding to use for doctest files.

* ``pytest.warns`` now checks for subclass relationship rather than
  class equality.

* ``pytest.raises`` now asserts that the error message matches a text or regex
  with the ``match`` keyword argument.

* ``pytest.param`` can be used to declare test parameter sets with marks and test ids.
  • Loading branch information
adam committed May 23, 2017
1 parent dc4df60 commit 16cd13c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
4 changes: 2 additions & 2 deletions devel/py-test/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.28 2017/03/20 13:56:18 wiz Exp $
# $NetBSD: Makefile,v 1.29 2017/05/23 08:30:11 adam Exp $

DISTNAME= pytest-3.0.7
DISTNAME= pytest-3.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest/}
Expand Down
11 changes: 10 additions & 1 deletion devel/py-test/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.5 2016/08/22 13:26:28 wiz Exp $
@comment $NetBSD: PLIST,v 1.6 2017/05/23 08:30:11 adam Exp $
bin/py.test-${PYVERSSUFFIX}
bin/pytest-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
Expand Down Expand Up @@ -29,12 +29,18 @@ ${PYSITELIB}/_pytest/_code/source.pyo
${PYSITELIB}/_pytest/_pluggy.py
${PYSITELIB}/_pytest/_pluggy.pyc
${PYSITELIB}/_pytest/_pluggy.pyo
${PYSITELIB}/_pytest/_version.py
${PYSITELIB}/_pytest/_version.pyc
${PYSITELIB}/_pytest/_version.pyo
${PYSITELIB}/_pytest/assertion/__init__.py
${PYSITELIB}/_pytest/assertion/__init__.pyc
${PYSITELIB}/_pytest/assertion/__init__.pyo
${PYSITELIB}/_pytest/assertion/rewrite.py
${PYSITELIB}/_pytest/assertion/rewrite.pyc
${PYSITELIB}/_pytest/assertion/rewrite.pyo
${PYSITELIB}/_pytest/assertion/truncate.py
${PYSITELIB}/_pytest/assertion/truncate.pyc
${PYSITELIB}/_pytest/assertion/truncate.pyo
${PYSITELIB}/_pytest/assertion/util.py
${PYSITELIB}/_pytest/assertion/util.pyc
${PYSITELIB}/_pytest/assertion/util.pyo
Expand Down Expand Up @@ -128,6 +134,9 @@ ${PYSITELIB}/_pytest/vendored_packages/__init__.pyo
${PYSITELIB}/_pytest/vendored_packages/pluggy.py
${PYSITELIB}/_pytest/vendored_packages/pluggy.pyc
${PYSITELIB}/_pytest/vendored_packages/pluggy.pyo
${PYSITELIB}/_pytest/warnings.py
${PYSITELIB}/_pytest/warnings.pyc
${PYSITELIB}/_pytest/warnings.pyo
${PYSITELIB}/pytest.py
${PYSITELIB}/pytest.pyc
${PYSITELIB}/pytest.pyo
10 changes: 5 additions & 5 deletions devel/py-test/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.26 2017/03/20 13:56:18 wiz Exp $
$NetBSD: distinfo,v 1.27 2017/05/23 08:30:11 adam Exp $

SHA1 (pytest-3.0.7.tar.gz) = 16bba5707c14d0ffffe92cba2380cf3bdc227068
RMD160 (pytest-3.0.7.tar.gz) = cae14d79ae284104a4df818645588347b99815cc
SHA512 (pytest-3.0.7.tar.gz) = f458929614fca5bc9542b9adfe2fa5d2c5b97ec13e331d3a9caf256d2d005b3dad9c11d01b2eb62332648f90608ba297a1edc2c20b7630ec4f69114299720a2a
Size (pytest-3.0.7.tar.gz) = 743866 bytes
SHA1 (pytest-3.1.0.tar.gz) = 194bb203353cd907563cce280e946cb3c441d48b
RMD160 (pytest-3.1.0.tar.gz) = 397ae112e1bd4dd8f35d6fdd052882ce08e847bb
SHA512 (pytest-3.1.0.tar.gz) = 07937d2bfdf3fcb97cb6480685f380b8bb4f0f681570862feb327f9654d96c095c7ca027eac929f15263b31e19fa79b28c7b87612c78aea2d697c0d7a0e792df
Size (pytest-3.1.0.tar.gz) = 760912 bytes

0 comments on commit 16cd13c

Please sign in to comment.