Skip to content

Commit

Permalink
Fix robustness tests doc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
aulemahal authored Jan 29, 2024
1 parent 59a2053 commit 0d0cbb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xclim/ensembles/_robustness.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ def _gen_test_entry(namefunc):
return f"\t{name}:\n\t\t{doc}"


change_significance.__doc__ = change_significance.__doc__.format(
robustness_fractions.__doc__ = robustness_fractions.__doc__.format(
tests_list="{" + ", ".join(list(SIGNIFICANCE_TESTS.keys()) + ["threshold"]) + "}",
tests_doc="\n".join(map(_gen_test_entry, SIGNIFICANCE_TESTS.items())),
)

0 comments on commit 0d0cbb0

Please sign in to comment.