def METHOD_NAME(self):
    """
    An exception in listdir should raise a DistutilsFileError
    """
    with patch("os.listdir", side_effect=OSError()), \
         self.assertRaises(errors.DistutilsFileError):
        src = self.tempdirs[-1]
        dir_util.copy_tree(src, None)