Skip to content
Merged
Prev Previous commit
Next Next commit
test:update snapshot
Signed-off-by: 11happy <soni5happy@gmail.com>
  • Loading branch information
11happy committed Nov 10, 2025
commit 0e5d291af121dae2e23b3add1b279027b03cbfab
2 changes: 0 additions & 2 deletions crates/ruff_linter/resources/test/fixtures/refurb/FURB103.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,3 @@ def bar(x):

with open("test.json", "wb") as f:
f.write(json.dumps(data, indent=4).encode("utf-8"))


Original file line number Diff line number Diff line change
Expand Up @@ -279,5 +279,3 @@ help: Replace with `Path("test.json")....`
- with open("test.json", "wb") as f:
- f.write(json.dumps(data, indent=4).encode("utf-8"))
155 + pathlib.Path("test.json").write_bytes(json.dumps(data, indent=4).encode("utf-8"))
156 |
157 |
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,3 @@ help: Replace with `Path("test.json")....`
- with open("test.json", "wb") as f:
- f.write(json.dumps(data, indent=4).encode("utf-8"))
155 + pathlib.Path("test.json").write_bytes(json.dumps(data, indent=4).encode("utf-8"))
156 |
157 |
Loading