BSD Ports

devel/py-testfixtures 12.3.0 NetBSD

Helpers and mocks useful for automated tests in Python

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
f96e5ce5c2
License
mit
Categories
devel, python
Package size
138.9 KiB, 881.0 KiB installed

Description

Testfixtures is a collection of helpers and mock objects that are useful when writing automated tests in Python.

In the other systems

SystemPortVersion
NetBSDdevel/py-testfixtures12.3.0
FreeBSDdevel/py-testfixtures6.18.5_1
DragonFlydevel/py-testfixtures6.18.5_1
MidnightBSDdevel/py-testfixtures6.18.5_1
HardenedBSDdevel/py-testfixtures6.18.5_1
GhostBSDdevel/py-testfixtures6.18.5_1

Install

Binary package:

pkgin install py311-testfixtures

From pkgsrc:

cd /usr/pkgsrc/devel/py-testfixtures && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_6412.3.0
NetBSD 10.1 aarch6412.0.1
SmartOS / illumos x86_6412.3.0
macOS 15 arm6412.3.0

Dependencies

Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
py312-testfixtures-12.3.0, py313-testfixtures-12.3.0, py314-testfixtures-12.3.0

Commit history 1

DateCommitCreditsLog message
f96e5ce5c2 adam py-testfixtures: updated to 12.3.0
12.3.0 (8 Jul 2026) - Added :doc:`pydantic <pydantic>` support: a :func:`comparer <testfixtures.pydantic.compare_basemodel>` for :class:`~pydantic.BaseModel` is automatically registered, and the ``testfixtures[pydantic]`` extra installs a compatible version. - Added :class:`ReprComparison` and :func:`repr_like` for asserting an object's type along with its :func:`repr`. - Added :class:`StrComparison` and :func:`str_like` for asserting an object's type along with its :class:`str`. - Added :func:`mapping`, the typed helper for :class:`MappingComparison`. - :func:`like` now accepts a regular expression, as a string or a compiled :class:`re.Pattern`, returning a :class:`TextComparison` typed as a :class:`str`. :class:`TextComparison` can also …