From 914ad2ec59e3b74b67b9b4d9b51a61e86408f0ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Aizpurua?= Date: Wed, 27 Jul 2022 19:58:24 +0200 Subject: [PATCH] added backticks to addfinalizer --- doc/en/how-to/fixtures.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/en/how-to/fixtures.rst b/doc/en/how-to/fixtures.rst index d881f74cc..6aba2b94b 100644 --- a/doc/en/how-to/fixtures.rst +++ b/doc/en/how-to/fixtures.rst @@ -808,7 +808,7 @@ For finalizers, the first fixture to run is last call to `request.addfinalizer`. .finalizer_1 finalizer_2 -This is so because yield fixtures use addfinalizer behind the scenes: when the fixture executes, addfinalizer registers a function that resumes the generator, which in turn calls the teardown code. +This is so because yield fixtures use `addfinalizer` behind the scenes: when the fixture executes, `addfinalizer` registers a function that resumes the generator, which in turn calls the teardown code. .. _`safe teardowns`: