X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FTests%2FTestTools.py;fp=BaseTools%2FTests%2FTestTools.py;h=e16e993048e469ea58481e40955375deb40ba298;hp=d3a42ff426523065e069c0930653c81adfebfe4a;hb=f7496d717357b9af78414d19679b073403812340;hpb=39456d00f36e04b7e7efb208f350f4e83b6c3531 diff --git a/BaseTools/Tests/TestTools.py b/BaseTools/Tests/TestTools.py index d3a42ff426..e16e993048 100644 --- a/BaseTools/Tests/TestTools.py +++ b/BaseTools/Tests/TestTools.py @@ -2,7 +2,7 @@ from __future__ import print_function ## @file # Utility functions and classes for BaseTools unit tests # -# Copyright (c) 2008 - 2015, Intel Corporation. All rights reserved.
+# Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.
# # This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License @@ -78,7 +78,7 @@ class BaseToolsTest(unittest.TestCase): def HandleTreeDeleteError(self, function, path, excinfo): os.chmod(path, stat.S_IWRITE) function(path) - + def RemoveDir(self, dir): shutil.rmtree(dir, False, self.HandleTreeDeleteError)