mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-28 15:28:27 +01:00
fs: make constructor closer to fsspec (#5911)
* fs: don't use repo for jobs/hash_jobs * fs: local: exists: use fsspec's LocalFileSystem * fs: make constructor comply with fsspec
This commit is contained in:
@@ -3,7 +3,7 @@ from dvc.fs.local import LocalFileSystem
|
||||
|
||||
|
||||
def test_file_md5_crlf(tmp_dir):
|
||||
fs = LocalFileSystem(None, {})
|
||||
fs = LocalFileSystem()
|
||||
tmp_dir.gen("cr", b"a\nb\nc")
|
||||
tmp_dir.gen("crlf", b"a\r\nb\r\nc")
|
||||
assert utils.file_md5("cr", fs) == utils.file_md5("crlf", fs)
|
||||
|
||||
Reference in New Issue
Block a user