File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -513,7 +513,6 @@ def test_is_fsspec_url_chained():
513
513
assert not icom .is_fsspec_url ("filecache::://pandas/test.csv" )
514
514
515
515
516
- @pytest .mark .parametrize ("encoding" , [None , "utf-8" ])
517
516
@pytest .mark .parametrize ("format" , ["csv" , "json" ])
518
517
def test_codecs_encoding (encoding , format ):
519
518
# GH39247
@@ -523,7 +522,7 @@ def test_codecs_encoding(encoding, format):
523
522
index = pd .Index ([f"i-{ i } " for i in range (30 )]),
524
523
)
525
524
with tm .ensure_clean () as path :
526
- with open (path , mode = "w" , encoding = encoding ) as handle :
525
+ with open (path , mode = "w" , encoding = "utf-8" ) as handle :
527
526
getattr (expected , f"to_{ format } " )(handle )
528
527
with open (path , encoding = encoding ) as handle :
529
528
if format == "csv" :
You can’t perform that action at this time.
0 commit comments