Package: python-pyeclib / 1.4.0-2

Metadata

Package Version Patches format
python-pyeclib 1.4.0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Prevent_division_by_zero_in_tests.patch | (download)

test/test_pyeclib_c.py | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 [patch] prevent division by zero in tests

If avg_time is 0, tests will fail:
throughput = (size / 1000.0) / avg_time
ZeroDivisionError: float division by zero

This happens for me on Hurd:
https://buildd.debian.org/status/fetch.php?pkg=python-pyeclib&arch=hurd-i386&ver=1.3.1-1&stamp=1475967332