From 139a45bb71ca2e99b0c8947c43c8d0165dec165e Mon Sep 17 00:00:00 2001 From: Cedric Brandily Date: Wed, 6 Apr 2016 00:35:57 +0200 Subject: [PATCH] Remove unused method cleanup_tmpfile This change removes unused cleanup_tmpfile method from functests code. Change-Id: I5d8e7edb0e50e94a5a469ce393d411b390b4db34 --- functional/common/test.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/functional/common/test.py b/functional/common/test.py index 1e767af886..810c4e43fe 100644 --- a/functional/common/test.py +++ b/functional/common/test.py @@ -76,13 +76,6 @@ class TestCase(testtools.TestCase): if expected not in actual: raise Exception(expected + ' not in ' + actual) - @classmethod - def cleanup_tmpfile(cls, filename): - try: - os.remove(filename) - except OSError: - pass - def assert_table_structure(self, items, field_names): """Verify that all items have keys listed in field_names.""" for item in items: