From 7bb601c8294587221c3ad99511003580d356a713 Mon Sep 17 00:00:00 2001 From: Matt Wala Date: Mon, 1 Jul 2019 22:18:10 -0500 Subject: [PATCH] Fix two more deprecation warnings --- test/test_layer_pot_identity.py | 2 +- test/test_tools.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test_layer_pot_identity.py b/test/test_layer_pot_identity.py index 6168ae24..fa8b7a8f 100644 --- a/test/test_layer_pot_identity.py +++ b/test/test_layer_pot_identity.py @@ -166,7 +166,7 @@ class ZeroCalderonExpr(object): return ( -Dp(kernel, S(kernel, u_sym)) - - 0.25*u_sym + Sp(kernel, sym.Sp(kernel, u_sym)) + - 0.25*u_sym + Sp(kernel, Sp(kernel, u_sym)) ) order_drop = 1 diff --git a/test/test_tools.py b/test/test_tools.py index af774095..bf40f5f9 100644 --- a/test/test_tools.py +++ b/test/test_tools.py @@ -66,7 +66,8 @@ def test_interpolatory_error_reporting(ctx_factory): from meshmode.mesh.io import generate_gmsh, FileSource mesh = generate_gmsh( FileSource("circle.step"), 2, order=4, force_ambient_dim=2, - other_options=["-string", "Mesh.CharacteristicLengthMax = %g;" % h] + other_options=["-string", "Mesh.CharacteristicLengthMax = %g;" % h], + target_unit="mm", ) logger.info("%d elements" % mesh.nelements) -- GitLab