pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-testtools



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Feb 24 20:02:48 UTC 2026

Modified Files:
        pkgsrc/devel/py-testtools: Makefile PLIST distinfo

Log Message:
py-testtools: updated to 2.8.4

2.8.4

Improvements

* Clear ``force_failure`` in ``_reset()`` so that re-running a test
  after an ``expectThat`` failure can succeed if successful conditions are met again.

* Make ``extract_result()`` and ``DeferredNotFired`` public APIs in
  ``testtools.twistedsupport``. These utilities are useful for extracting
  results from synchronous Deferreds in tests.

* Add support for ``unittest.TestCase.subTest``. Failures are reported
  individually while the entire test method is still treated as a single test.

* Add ``testtools.matchers.test`` module providing a test harness for
  users who write their own custom matchers.

Changes

* Re-add compat helpers and helper modules that were accidentally removed
  in a patch release, breaking API compatibility. These are now deprecated
  and will be removed in a future major release.

* ``typing-extensions`` is no longer required at runtime; it is only needed
  for type checking.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/py-testtools/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-testtools/PLIST
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/py-testtools/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-testtools/Makefile
diff -u pkgsrc/devel/py-testtools/Makefile:1.29 pkgsrc/devel/py-testtools/Makefile:1.30
--- pkgsrc/devel/py-testtools/Makefile:1.29     Fri Dec 26 12:38:23 2025
+++ pkgsrc/devel/py-testtools/Makefile  Tue Feb 24 20:02:48 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2025/12/26 12:38:23 adam Exp $
+# $NetBSD: Makefile,v 1.30 2026/02/24 20:02:48 adam Exp $
 
-DISTNAME=      testtools-2.8.2
+DISTNAME=      testtools-2.8.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/testtools/}

Index: pkgsrc/devel/py-testtools/PLIST
diff -u pkgsrc/devel/py-testtools/PLIST:1.13 pkgsrc/devel/py-testtools/PLIST:1.14
--- pkgsrc/devel/py-testtools/PLIST:1.13        Fri Dec 26 12:38:23 2025
+++ pkgsrc/devel/py-testtools/PLIST     Tue Feb 24 20:02:48 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2025/12/26 12:38:23 adam Exp $
+@comment $NetBSD: PLIST,v 1.14 2026/02/24 20:02:48 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -58,6 +58,9 @@ ${PYSITELIB}/testtools/matchers/_impl.py
 ${PYSITELIB}/testtools/matchers/_warnings.py
 ${PYSITELIB}/testtools/matchers/_warnings.pyc
 ${PYSITELIB}/testtools/matchers/_warnings.pyo
+${PYSITELIB}/testtools/matchers/test.py
+${PYSITELIB}/testtools/matchers/test.pyc
+${PYSITELIB}/testtools/matchers/test.pyo
 ${PYSITELIB}/testtools/monkey.py
 ${PYSITELIB}/testtools/monkey.pyc
 ${PYSITELIB}/testtools/monkey.pyo
@@ -83,6 +86,18 @@ ${PYSITELIB}/testtools/testresult/double
 ${PYSITELIB}/testtools/testresult/real.py
 ${PYSITELIB}/testtools/testresult/real.pyc
 ${PYSITELIB}/testtools/testresult/real.pyo
+${PYSITELIB}/testtools/tests/__init__.py
+${PYSITELIB}/testtools/tests/__init__.pyc
+${PYSITELIB}/testtools/tests/__init__.pyo
+${PYSITELIB}/testtools/tests/helpers.py
+${PYSITELIB}/testtools/tests/helpers.pyc
+${PYSITELIB}/testtools/tests/helpers.pyo
+${PYSITELIB}/testtools/tests/matchers/__init__.py
+${PYSITELIB}/testtools/tests/matchers/__init__.pyc
+${PYSITELIB}/testtools/tests/matchers/__init__.pyo
+${PYSITELIB}/testtools/tests/matchers/helpers.py
+${PYSITELIB}/testtools/tests/matchers/helpers.pyc
+${PYSITELIB}/testtools/tests/matchers/helpers.pyo
 ${PYSITELIB}/testtools/testsuite.py
 ${PYSITELIB}/testtools/testsuite.pyc
 ${PYSITELIB}/testtools/testsuite.pyo

Index: pkgsrc/devel/py-testtools/distinfo
diff -u pkgsrc/devel/py-testtools/distinfo:1.21 pkgsrc/devel/py-testtools/distinfo:1.22
--- pkgsrc/devel/py-testtools/distinfo:1.21     Fri Dec 26 12:38:23 2025
+++ pkgsrc/devel/py-testtools/distinfo  Tue Feb 24 20:02:48 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.21 2025/12/26 12:38:23 adam Exp $
+$NetBSD: distinfo,v 1.22 2026/02/24 20:02:48 adam Exp $
 
-BLAKE2s (testtools-2.8.2.tar.gz) = bf69833957cada7e30185f90e424586b8bfdcabd31309f71cfeb4858c068785e
-SHA512 (testtools-2.8.2.tar.gz) = 2880b5e8c92e59e3d9cad7b6b64781763a549abf74672a46f0b3a33300793d91ea8453fc364d497ae7492095385309e6b150a712fea4529324cf4673b6e60aa7
-Size (testtools-2.8.2.tar.gz) = 206889 bytes
+BLAKE2s (testtools-2.8.4.tar.gz) = c9b95499ce99174d6fdb51d6b9f099c3bf3f0ed16512cc9113a1dc714646d2e8
+SHA512 (testtools-2.8.4.tar.gz) = ba60cc64453921e9515cc7c5f04d61cb4e3ce7f0168e1acff564781e8a7392aff9c5306d9b3dca46eb891fb2b0df60847ca429bd926dc1df799c7318567b6b00
+Size (testtools-2.8.4.tar.gz) = 219143 bytes



Home | Main Index | Thread Index | Old Index