From 680cc417d354c4d99e2b367c2557c11a2f2f3062 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Tue, 5 Feb 2019 04:44:32 -0800 Subject: [PATCH] Removed unused RunInTmpDirMixin.rmfile(). Unused since bb7bb379e8cd91a91336946829519d64e919a1d2. --- tests/i18n/utils.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/i18n/utils.py b/tests/i18n/utils.py index 43cb7565641..d6cae260aa7 100644 --- a/tests/i18n/utils.py +++ b/tests/i18n/utils.py @@ -59,7 +59,3 @@ class RunInTmpDirMixin: if os.path.commonprefix([self.test_dir, os.path.abspath(dname)]) != self.test_dir: return shutil.rmtree(dname) - - def rmfile(self, filepath): - if os.path.exists(filepath): - os.remove(filepath)