#15010·pytest

pytest.approx Decimal repr 省略或错误地表示有效容差

作者: torjan0创建于 2026年9月13日更新于 2026年9月13日

For Decimal values, `pytest.approx` can display the raw relative factor instead of the effective tolerance, ignore a larger absolute tolerance, or show `???` with valid defaults.

内容来源: pytest-dev/pytest