Skip to content

Commit

Permalink
fix: some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
15r10nk committed Oct 23, 2024
1 parent 479982a commit 1139d16
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

.
-e ./mutants
dirty-equals>=0.7.0
hypothesis>=6.75.5
mypy>=1.2.0
Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[mutmut]
also_copy=
src/inline_snapshot/py.typed
conftest.py
pyproject.toml
README.md
2 changes: 2 additions & 0 deletions src/inline_snapshot/_inline_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,11 +571,13 @@ def snapshot(obj: Any = undefined) -> Any:
assert frame is not None
frame = frame.f_back
while "mutmut" in frame.f_code.co_name:
assert frame is not None
frame = frame.f_back

assert frame is not None
frame = frame.f_back
while "mutmut" in frame.f_code.co_name:
assert frame is not None
frame = frame.f_back
assert frame is not None

Expand Down

0 comments on commit 1139d16

Please sign in to comment.