diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2014-08-31 21:37:35 (GMT) |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-08-31 21:37:35 (GMT) |
commit | 47f44c930901f5fc155aa15c6ec59bbb23b37279 (patch) | |
tree | 3ce9e953cb9562bd1cbfb4452b3659e6e5abc1ab | |
parent | e572ce3fb54dc03cde1b1520077124418c14e9fa (diff) | |
download | cpython-47f44c930901f5fc155aa15c6ec59bbb23b37279.zip cpython-47f44c930901f5fc155aa15c6ec59bbb23b37279.tar.gz cpython-47f44c930901f5fc155aa15c6ec59bbb23b37279.tar.bz2 |
#22315: Provide an actual directory during test invocation.
-rw-r--r-- | Lib/distutils/tests/test_dir_util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_dir_util.py b/Lib/distutils/tests/test_dir_util.py index c9f789c..51e754a 100644 --- a/Lib/distutils/tests/test_dir_util.py +++ b/Lib/distutils/tests/test_dir_util.py @@ -128,7 +128,7 @@ class DirUtilTestCase(support.TempdirManager, unittest.TestCase): An exception in listdir should raise a DistutilsFileError """ with self.assertRaises(errors.DistutilsFileError): - dir_util.copy_tree('src', None) + dir_util.copy_tree(self.target, None) def test_suite(): |