cpython (3.4): #22315: Use an existent directory for 'src' to trigger appropriate behavior.
http://hg.python.org/cpython/rev/ddb0f90620b7 changeset: 92288:ddb0f90620b7 branch: 3.4 user: Jason R. Coombs <jaraco@jaraco.com> date: Sun Aug 31 17:51:22 2014 -0400 summary: #22315: Use an existent directory for 'src' to trigger appropriate behavior. files: Lib/distutils/tests/test_dir_util.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Lib/distutils/tests/test_dir_util.py b/Lib/distutils/tests/test_dir_util.py --- a/Lib/distutils/tests/test_dir_util.py +++ b/Lib/distutils/tests/test_dir_util.py @@ -128,7 +128,8 @@ An exception in listdir should raise a DistutilsFileError """ with self.assertRaises(errors.DistutilsFileError): - dir_util.copy_tree(self.target, None) + src = self.tempdirs[-1] + dir_util.copy_tree(src, None) def test_suite(): -- Repository URL: http://hg.python.org/cpython
participants (1)
-
jason.coombs