(path)
| 1719 | ['', '/', 'foo/bar', '/foo/bar', __file__] |
| 1720 | ) |
| 1721 | def test_filesystem_from_path_object(path): |
| 1722 | p = pathlib.Path(path) |
| 1723 | fs, path = FileSystem.from_uri(p) |
| 1724 | assert isinstance(fs, LocalFileSystem) |
| 1725 | assert path == p.resolve().absolute().as_posix() |
| 1726 | |
| 1727 | |
| 1728 | @pytest.mark.s3 |