diff --git a/src/_pytest/recwarn.py b/src/_pytest/recwarn.py index da408a892..a58c75d3a 100644 --- a/src/_pytest/recwarn.py +++ b/src/_pytest/recwarn.py @@ -193,7 +193,7 @@ class WarningsRecorder(warnings.catch_warnings): super(WarningsRecorder, self).__exit__(*exc_info) # Built-in catch_warnings does not reset entered state so we do it - # manually here for this context manager to become reusable + # manually here for this context manager to become reusable. self._entered = False