From e2ea6e1140f37aae19b081a13521325f90653419 Mon Sep 17 00:00:00 2001 From: Will Benfold Date: Wed, 9 Mar 2022 13:40:55 +0000 Subject: [PATCH] Update to be easily usable without code links working --- docs/src/developers_guide/testing_tools.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/src/developers_guide/testing_tools.rst b/docs/src/developers_guide/testing_tools.rst index a0dc3ea3769..537af8d7958 100755 --- a/docs/src/developers_guide/testing_tools.rst +++ b/docs/src/developers_guide/testing_tools.rst @@ -9,7 +9,16 @@ Iris has various internal convenience functions and utilities available to support writing tests. Using these makes tests quicker and easier to write, and also consistent with the rest of Iris (which makes it easier to work with the code). Most of these conveniences are accessed through the -:class:`iris.tests.IrisTest` class, from which Iris' test classes inherit. +:class:`iris.tests.IrisTest` class, from +which Iris' test classes then inherit. + +.. tip:: + + All functions listed on this page are defined within + :mod:`iris.tests.__init__.py` as methods of + :class:`iris.tests.IrisTest_nometa` (which :class:`iris.tests.IrisTest` + inherits from). They can be accessed within a test using + ``self.exampleFunction``. Custom assertions =================