mirror of
https://github.com/python/cpython.git
synced 2025-10-25 10:44:55 +00:00
#22315: Provide an actual directory during test invocation.
This commit is contained in:
parent
e572ce3fb5
commit
47f44c9309
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ def test_copy_tree_exception_in_listdir(self, listdir):
|
|||
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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue