test_relax_tolerance
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sat, 23 Apr 2022 15:15:39 +0000 (15:15 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Sat, 23 Apr 2022 15:15:39 +0000 (15:15 +0000)
===================================================================

Gbp-Pq: Name test_relax_tolerance.patch

tests/test_volume_mesh.py

index 394e3bb5200a1b088b274a2c58c59a8d51978e27..6c57057607eaa9f90eb0e42720b69b0d926b4c70 100644 (file)
@@ -483,7 +483,7 @@ def test_extrude():
     assert abs(min(mesh.points[:, 1]) + 0.3) < tol
     # Relax tolerance for debian, see <https://github.com/nschloe/pygalmesh/pull/47>
     assert abs(max(mesh.points[:, 2]) - 1.0) < 1.1e-3
-    assert abs(min(mesh.points[:, 2]) + 0.0) < tol
+    assert abs(min(mesh.points[:, 2]) + 0.0) < 1.1e-3
 
     vol = sum(helpers.compute_volumes(mesh.points, mesh.get_cells_type("tetra")))
     assert abs(vol - 0.4) < tol