added backticks to addfinalizer

This commit is contained in:
Adrián Aizpurua 2022-07-27 19:58:24 +02:00
parent fd316339ed
commit 914ad2ec59
1 changed files with 1 additions and 1 deletions

View File

@ -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`: