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)