From 52d9aee21590120161106a4de499b06ea6742f12 Mon Sep 17 00:00:00 2001 From: Juliya Smith Date: Wed, 11 Sep 2024 10:57:15 -0500 Subject: [PATCH] docs: comment --- src/ape/pytest/fixtures.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ape/pytest/fixtures.py b/src/ape/pytest/fixtures.py index 302e6c0695..cebc54d6d9 100644 --- a/src/ape/pytest/fixtures.py +++ b/src/ape/pytest/fixtures.py @@ -110,6 +110,8 @@ def _isolation(self) -> Iterator[None]: else: yield + # NOTE: self._supports_snapshot may have gotten set to False + # during snapshot check. if self._supports_snapshot and snapshot_id is not None: self._restore(snapshot_id)