From 3a5d25221362f04ede6887558a85b080238f237b Mon Sep 17 00:00:00 2001 From: Kaushik Kulkarni <kaushikcfd@gmail.com> Date: Mon, 27 Sep 2021 01:35:55 -0500 Subject: [PATCH] test tweaks for NumpyArrayContext --- test/test_arraycontext.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_arraycontext.py b/test/test_arraycontext.py index ffd7553..26d4d80 100644 --- a/test/test_arraycontext.py +++ b/test/test_arraycontext.py @@ -1360,6 +1360,8 @@ def test_container_equality(actx_factory): class Foo: u: DOFArray + __array_priority__ = 1 # disallow numpy arithmetic to take precedence + @property def array_context(self): return self.u.array_context -- GitLab