[Piglit] [PATCH 09/18] programs_tests.py: Remove duplicate teardown call

Dylan Baker baker.dylan.c at gmail.com
Tue Aug 19 13:25:03 PDT 2014


Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 framework/tests/programs_tests.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/framework/tests/programs_tests.py b/framework/tests/programs_tests.py
index fc8fe6b..fbd9f20 100644
--- a/framework/tests/programs_tests.py
+++ b/framework/tests/programs_tests.py
@@ -68,7 +68,6 @@ class TestGetConfig(utils.TestWithEnvClean):
         self.defer(_reset_piglit_config)
         self.add_teardown('XDG_CONFIG_HOME')
         self.add_teardown('HOME')
-        self.add_teardown('XDG_CONFIG_HOME')
         if os.path.exists('piglit.conf'):
             shutil.move('piglit.conf', 'piglit.conf.restore')
             self.defer(shutil.move, 'piglit.conf.restore', 'piglit.conf')
-- 
2.0.4



More information about the Piglit mailing list