punit.assertions#
Assertion helpers for pUnit tests.
With pUnit, assertions are typically performed using Python’s assert statement.
This module provides several helper submodules that offer additional assertion
capabilities beyond the built-in assert keyword.
Sub-modules#
punit.assertions.collections; helpers for comparing sequences and collections.punit.assertions.exceptions; helpers for asserting raised exceptions.punit.assertions.numeric; helpers for approximate numeric comparisons.punit.assertions.strings; helpers for string comparisons and checks.