You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=========================== test session starts ============================
802
+
platform linux -- Python 3.x.y, pytest-7.x.y, pluggy-1.x.y
803
+
collected 1 item
804
+
805
+
test_module.py test_bar
806
+
.finalizer_1
807
+
finalizer_2
808
+
809
+
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.
0 commit comments