Skip to content

Commit 9efb18b

Browse files
authored
Patch HAS_CPYTHON_API where _fast_slice reads it (#2164)
1 parent 27bcd35 commit 9efb18b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fsspec/tests/test_prefetcher.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ def test_local_seek_optimization(prefetcher_factory):
713713
assert fetcher.call_count > calls_after_next
714714

715715

716-
@mock.patch("fsspec.prefetcher.HAS_CPYTHON_API", False)
716+
@mock.patch("fsspec.utils.HAS_CPYTHON_API", False)
717717
def test_fast_slice_pypy_fallback():
718718
"""
719719
Tests that when HAS_CPYTHON_API is False (e.g., on PyPy), _fast_slice

0 commit comments

Comments
 (0)