Skip to content

Commit fc1f3ae

Browse files
Fix syrupy for new version
1 parent 3ceae9f commit fc1f3ae

File tree

3 files changed

+1728
-1726
lines changed

3 files changed

+1728
-1726
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ dev = [
5151
test = [
5252
"pytest",
5353
"mypy",
54-
"syrupy",
54+
"syrupy>=5",
5555
"egglog[array]",
5656
"pytest-codspeed",
5757
"pytest-benchmark",

python/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def _reset_current_egraph():
2323

2424

2525
class PythonSnapshotExtension(SingleFileSnapshotExtension):
26-
_file_extension = "py"
26+
file_extension = "py"
2727

2828
def serialize(self, data, **kwargs) -> bytes:
2929
return str(data).encode()

0 commit comments

Comments
 (0)