File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -337,7 +337,9 @@ def __init__(
337
337
):
338
338
raise NotImplementedError ("Read from file URI" )
339
339
if self .typ == "csv" :
340
- if any (plc .io .SourceInfo ._is_remote_uri (p ) for p in self .paths ):
340
+ if any (
341
+ plc .io .SourceInfo ._is_remote_uri (p ) for p in self .paths
342
+ ): # pragma: no cover; no test yet
341
343
# This works fine when the file has no leading blank lines,
342
344
# but currently we do some file introspection
343
345
# to skip blanks before parsing the header.
Original file line number Diff line number Diff line change @@ -422,16 +422,6 @@ def test_scan_parquet_chunked(
422
422
)
423
423
424
424
425
- @pytest .mark .xfail (
426
- raises = pl .exceptions .ComputeError ,
427
- reason = "Rate limited by Hugging Face" ,
428
- strict = False ,
429
- )
430
- def test_scan_hf_url_raises ():
431
- q = pl .scan_csv ("hf://datasets/scikit-learn/iris/Iris.csv" )
432
- assert_ir_translation_raises (q , NotImplementedError )
433
-
434
-
435
425
def test_select_arbitrary_order_with_row_index_column (tmp_path ):
436
426
df = pl .DataFrame ({"a" : [1 , 2 , 3 ]})
437
427
df .write_parquet (tmp_path / "df.parquet" )
You can’t perform that action at this time.
0 commit comments