Quickblink
Quickblink
The implementations of S3Path and LocalS3Path diverge in the following way which disqualifies using `LocalS3Path` as a testing tool. ```python from cloudpathlib.s3 import S3Path path = S3Path("s3://this/path/does/not/exist") path.mkdir(parents=True) # does...
```python from cloudpathlib.local import LocalS3Path, LocalS3Client path = LocalS3Path("s3://some/path/") path.touch() LocalS3Client.reset_default_storage_dir() new_path = LocalS3Path("s3://some/path/") assert not new_path.is_file() # fails ``` The reason is that `reset_default_storage_dir()` acts on the class attribute...