Commit 3896d0af authored by Jason R. Coombs's avatar Jason R. Coombs

#22315: Provide an actual directory during test invocation.

parent d4581844
......@@ -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():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment