Skip to content

Commit e5777f4

Browse files
authored
BUG: pd.read_json() fails for strings that look similar to fsspec_url pandas-dev#36271
1 parent 8c40f23 commit e5777f4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pandas/tests/io/test_common.py

+6
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ class TestCommonIOCapabilities:
5252
bar2,12,13,14,15
5353
"""
5454

55+
def test_is_fsspec_url(self):
56+
some_string = 'some :// string'
57+
expected = False
58+
59+
assert icom.is_fsspec_url(some_string)==expected
60+
5561
def test_expand_user(self):
5662
filename = "~/sometest"
5763
expanded_name = icom._expand_user(filename)

0 commit comments

Comments
 (0)