Skip to content

Commit

Permalink
fix(json): use additional forward references for py3.7 (#587)
Browse files Browse the repository at this point in the history
* fixed 2 additional instances
  • Loading branch information
dtczest authored Jan 25, 2022
1 parent c37d652 commit 8489e93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/syrupy/extensions/json/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ def _filter(
data: "SerializableData",
*,
depth: int = 0,
path: PropertyPath,
path: "PropertyPath",
exclude: Optional["PropertyFilter"] = None,
matcher: Optional[PropertyMatcher] = None,
matcher: Optional["PropertyMatcher"] = None,
visited: Optional[Set[Any]] = None,
) -> "SerializableData":
data_id = id(data)
Expand Down

0 comments on commit 8489e93

Please sign in to comment.