diff --git a/test/test_arraycontext.py b/test/test_arraycontext.py
index 868790fee1630c863f6457cb4c4a6f35c32d1f15..ae65a3d07089023e045646dd711e5a2b09d7f2fb 100644
--- a/test/test_arraycontext.py
+++ b/test/test_arraycontext.py
@@ -133,7 +133,8 @@ class DOFArray:
         self.array_context = actx
         self.data = data
 
-    __array_priority__ = 10
+    # prevent numpy broadcasting
+    __array_ufunc__ = None
 
     def __bool__(self):
         if len(self) == 1 and self.data[0].size == 1:
@@ -219,6 +220,8 @@ class MyContainer:
     momentum: np.ndarray
     enthalpy: Union[DOFArray, np.ndarray]
 
+    __array_ufunc__ = None
+
     @property
     def array_context(self):
         if isinstance(self.mass, np.ndarray):
@@ -1364,7 +1367,8 @@ def test_container_equality(actx_factory):
 class Foo:
     u: DOFArray
 
-    __array_priority__ = 1  # disallow numpy arithmetic to take precedence
+    # prevent numpy arithmetic from taking precedence
+    __array_ufunc__ = None
 
     @property
     def array_context(self):