File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ def existing_dirpath(v):
342342 if os .path .isdir (dir ):
343343 return nv
344344 raise ValueError ('The directory named as part of the path %s '
345- 'does not exist. ' % v )
345+ 'does not exist' % v )
346346
347347def logging_level (value ):
348348 s = str (value ).lower ()
Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ def test_raises_if_dir_does_not_exist(self):
376376 self .fail ()
377377 except ValueError as e :
378378 expected = ('The directory named as part of the path %s '
379- 'does not exist. ' % path )
379+ 'does not exist' % path )
380380 self .assertEqual (e .args [0 ], expected )
381381
382382 def test_raises_if_exists_but_not_a_dir (self ):
@@ -387,7 +387,7 @@ def test_raises_if_exists_but_not_a_dir(self):
387387 self .fail ()
388388 except ValueError as e :
389389 expected = ('The directory named as part of the path %s '
390- 'does not exist. ' % path )
390+ 'does not exist' % path )
391391 self .assertEqual (e .args [0 ], expected )
392392
393393 def test_expands_home (self ):
You can’t perform that action at this time.
0 commit comments