diff --git a/tests/python/test_field.py b/tests/python/test_field.py index 2ed8fa150d7ca..9358c0454229b 100644 --- a/tests/python/test_field.py +++ b/tests/python/test_field.py @@ -47,7 +47,7 @@ def test_vector_field(n, dtype, shape): @pytest.mark.parametrize('dtype', data_types) @pytest.mark.parametrize('shape', field_shapes) @ti.host_arch_only -def test_matrix_field(n, M, dtype, shape): +def test_matrix_field(n, m, dtype, shape): x = ti.Matrix.field(n, m, dtype=dtype, shape=shape) if isinstance(shape, tuple):