diff --git a/tests/test_autodoc.py b/tests/test_autodoc.py
index 76611be7..4211d3e8 100644
--- a/tests/test_autodoc.py
+++ b/tests/test_autodoc.py
@@ -258,8 +258,8 @@ def test_document_object(self):
 
 <Tip warning={true}>
 
-You can't unpack a `ModelOutput` directly. Use the [`~file_utils.ModelOutput.to_tuple`] method to convert it to a
-tuple before.
+You can't unpack a `ModelOutput` directly. Use the [`~utils.ModelOutput.to_tuple`] method to convert it to a tuple
+before.
 
 </Tip>