Fix imports of fixture-decorated function_parameters
function in tests with Ruff
#118
Labels
maintenance
Improve code readability and robustness.
The fixture-decorated function
function_parameters
is used in multiple tests for requesting different combinations of benchmark function name and the corresponding global optimum:When moving the definition of this function to a separate utility module file and importing from this file into the actual tests,
ruff
falsely recognizes this as an unused import and thus will remove the line:This should not be the case and fixed to avoid duplicate code by repeating the definition of
function_parameters
in each separate test file to be executed.The text was updated successfully, but these errors were encountered: