Skip to content

Commit 848665e

Browse files
committed
Fix ruff errors
1 parent 7433234 commit 848665e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

python/datafusion/dataframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ def __arrow_c_stream__(self, requested_schema: object | None = None) -> object:
11351135
>>> stream = df.__arrow_c_stream__(schema)
11361136
>>> capsule = schema._export_to_c_capsule()
11371137
>>> stream = df.__arrow_c_stream__(capsule)
1138-
1138+
11391139
Notes:
11401140
The Arrow C Data Interface PyCapsule details are documented by Apache
11411141
Arrow and can be found at:

python/tests/test_io.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ def test_arrow_c_stream_large_dataset(ctx):
114114
reader = pa.RecordBatchReader.from_stream(df)
115115

116116
# Track RSS before consuming batches
117-
# RSS is a practical measure of RAM usage visible to the OS. It excludes memory
118-
# that has been swapped out and provides a simple cross-platform-ish indicator
117+
# RSS is a practical measure of RAM usage visible to the OS. It excludes memory
118+
# that has been swapped out and provides a simple cross-platform-ish indicator
119119
# (psutil normalizes per-OS sources).
120120
psutil = pytest.importorskip("psutil")
121121
process = psutil.Process()

0 commit comments

Comments
 (0)