Commit 47f44c93 authored by Jason R. Coombs's avatar Jason R. Coombs

#22315: Provide an actual directory during test invocation.

parent e572ce3f
...@@ -128,7 +128,7 @@ class DirUtilTestCase(support.TempdirManager, unittest.TestCase): ...@@ -128,7 +128,7 @@ class DirUtilTestCase(support.TempdirManager, unittest.TestCase):
An exception in listdir should raise a DistutilsFileError An exception in listdir should raise a DistutilsFileError
""" """
with self.assertRaises(errors.DistutilsFileError): with self.assertRaises(errors.DistutilsFileError):
dir_util.copy_tree('src', None) dir_util.copy_tree(self.target, None)
def test_suite(): 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