Skip to content

Commit

Permalink
Clarify
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Apr 1, 2022
1 parent 3e70312 commit 249fcd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fixtures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ can generally ignore ``tearDown()``.
However, if you create many objects in your ``setUp()``, you may want
to ``unset()`` the variables holding those objects
in your ``tearDown()`` so that they can be garbage collected sooner.
Objects created within ``setUp()`` are only automatically garbage
Objects created within ``setUp()`` (or test methods) that are stored in
properties of the test object are only automatically garbage
collected at the end of the PHP process that runs PHPUnit.

.. _fixtures.variations:
Expand Down

0 comments on commit 249fcd3

Please sign in to comment.