From bbdcf5ee91dafd2ccb9ee74de70be0c1175e9bd8 Mon Sep 17 00:00:00 2001 From: Aaron Vaage Date: Tue, 27 Feb 2018 13:24:50 -0800 Subject: [PATCH] Fix Wrong Remove Function in Packager Test Change-Id: I58350c2041abfd3b9c533003d408d447b9213123 --- packager/app/test/packager_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packager/app/test/packager_test.py b/packager/app/test/packager_test.py index 425dc7476b..3cd5cc55af 100755 --- a/packager/app/test/packager_test.py +++ b/packager/app/test/packager_test.py @@ -430,7 +430,7 @@ class PackagerAppTest(unittest.TestCase): os.path.join(gold_dir, filename)) # Files in the gold dir but not in the output need to be removed. for filename in diff.right_only: - os.rm(os.path.join(gold_dir, filename)) + os.remove(os.path.join(gold_dir, filename)) # Copy any changed files over to the gold directory. for filename in diff.diff_files: shutil.copyfile(