File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3178,18 +3178,18 @@ def directory(self) -> str:
31783178 while (not self ._path and i > 5 ) or i == 0 :
31793179 try :
31803180 self ._path = self .inquire ("" , "DIRECTORY" )
3181- except Exception :
3181+ except Exception : # pragma: no cover
31823182 pass
31833183 i += 1
3184- if not self ._path :
3184+ if not self ._path : # pragma: no cover
31853185 time .sleep (0.1 )
31863186
31873187 # os independent path format
31883188 if self ._path : # self.inquire might return ''.
31893189 self ._path = self ._path .replace ("\\ " , "/" )
31903190 # new line to fix path issue, see #416
31913191 self ._path = repr (self ._path )[1 :- 1 ]
3192- else :
3192+ else : # pragma: no cover
31933193 raise IOError (
31943194 f"The directory returned by /INQUIRE is not valid ('{ self ._path } ')."
31953195 )
You can’t perform that action at this time.
0 commit comments