Skip to content

Commit e66dba1

Browse files
kaushikcfdinducer
authored andcommitted
test tweaks for NumpyArrayContext
1 parent 09f9001 commit e66dba1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_arraycontext.py

+2
Original file line numberDiff line numberDiff line change
@@ -1360,6 +1360,8 @@ def test_container_equality(actx_factory):
13601360
class Foo:
13611361
u: DOFArray
13621362

1363+
__array_priority__ = 1 # disallow numpy arithmetic to take precedence
1364+
13631365
@property
13641366
def array_context(self):
13651367
return self.u.array_context

0 commit comments

Comments
 (0)