]> granicus.if.org Git - python/commitdiff
#22315: Provide an actual directory during test invocation.
authorJason R. Coombs <jaraco@jaraco.com>
Sun, 31 Aug 2014 21:37:35 +0000 (17:37 -0400)
committerJason R. Coombs <jaraco@jaraco.com>
Sun, 31 Aug 2014 21:37:35 +0000 (17:37 -0400)
Lib/distutils/tests/test_dir_util.py

index c9f789c8955385297f059ee152ae9351611e5c86..51e754a07e3581d6625480c5940f74bad6f25a10 100644 (file)
@@ -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():