Skip to content

Commit

Permalink
Fix update-golden (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreinking committed May 27, 2022
1 parent c707cae commit 4264975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def __eq__(self, actual):
if isinstance(actual, GoldenOutput) and self.path != actual.path:
return False

if super().__eq__(self._missing):
if super().__eq__(self._missing) and not self.update:
# Hides this stack frame in the PyTest traceback.
__tracebackhide__ = True

Expand Down

0 comments on commit 4264975

Please sign in to comment.