diff --git a/tests/test_reference_runs/test_pre_deployment.py b/tests/test_reference_runs/test_pre_deployment.py
index b3faca674e9cb98f611b56e8dbc8af33723836f5..1a0b92fece5b1fa8c0178d09f85e9a7169783c4b 100644
--- a/tests/test_reference_runs/test_pre_deployment.py
+++ b/tests/test_reference_runs/test_pre_deployment.py
@@ -164,9 +164,6 @@ def validate_hdf5_files(
           the reference data to validate against
         cal_type (str): The type of calibration processing.
           e.g. dark or correct.
-        find_difference (bool): A flag indicating a need to find the
-          difference between two files if tested data was
-          not identical to the reference data.
     """
     print("\n--- Compare HDF5 files  ----")
     print("REF:", reference_folder)