diff --git a/tests/test_io.py b/tests/test_io.py index a96f54810..f3d5f8d22 100644 --- a/tests/test_io.py +++ b/tests/test_io.py @@ -353,7 +353,7 @@ def __call__(self, x: list) -> ak.Array: def mock(self): return ak.typetracer.typetracer_from_form(self.form) - def mock_empty(self, backend: str = "cpu") -> ak.Array: + def mock_empty(self, backend): return ak.to_backend( self.form.length_zero_array(highlevel=False), backend=backend,