diff --git a/unittests/test_tool.py b/unittests/test_tool.py
index 879bbe70f68bf78bc5f47bc3b64a4a82b4ae6cf9..af84f8fdbeb7f792a2648b6baab3c0266f803474 100755
--- a/unittests/test_tool.py
+++ b/unittests/test_tool.py
@@ -970,7 +970,7 @@ def test_split_restricted_path():
 
 def test_deprecated_prefix_option():
     """Test that calling the crawler's main function with the deprecated
-    `prefix` option correctly raises a Deprecation warning.
+    `prefix` option raises the correct errors and warnings.
 
     """