Return a pytest.approx wrapper with a relative tolerance.
(value, rel=1e-5)
| 22 | |
| 23 | |
| 24 | def approx(value, rel=1e-5): |
| 25 | """Return a pytest.approx wrapper with a relative tolerance.""" |
| 26 | return pytest.approx(value, rel=rel) |
| 27 | |
| 28 | |
| 29 | def make_tlv(tag: int, value_bytes: bytes) -> list[int]: |
no outgoing calls
no test coverage detected