/usr/local/lib/python3.6/site-packages/fsspec/__pycache__
Edit: /usr/local/lib/python3.6/site-packages/fsspec/__pycache__/conftest.cpython-36.pyc (1361B)
3
8%Eg @ sf d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlmZ ej dd Z
ej dd ZdS ) N)CachingFileSystemc
c sD t jd} | jj | jj z
| V W d| jj | jj X dS )z0
Fixture providing a memory filesystem.
ZmemoryN)fsspec
filesystemstoreclearZpseudo_dirs)m r 9/usr/local/lib/python3.6/site-packages/fsspec/conftest.pyr
s
r c c s t jd ddlm} |j tj t| }ttj j
|dd}|jdd W dQ R X tj
tjd dd
|ddd
ddg
}ztjd dV W d|j |j ytj| W n tk
r Y nX X dS )z6
Fixture providing a writable FTP filesystem.
Z pyftpdlibr )
FTPFileSystemoutwbs helloi' Nz-mz-dz-uuserz-Ppassz-w localhostI )r r r
r )pytestZimportorskipZfsspec.implementations.ftpr
Zclear_instance_cacher stropenospathjoinwrite
subprocessPopensys
executabletimesleep terminatewaitshutilrmtree Exception)Ztmpdirr
dfPr r r ftp_writable s$
r' )r r! r r r r r Zfsspec.implementations.cachedr Zfixturer r' r r r r
s