From 9c6a1749f1d6c5aa63a3891b5b950764a6ce0208 Mon Sep 17 00:00:00 2001 From: Lucas Meneghel Rodrigues Date: Wed, 22 Apr 2015 00:44:09 -0300 Subject: [PATCH] avocado.runner: PEP8 Fix Signed-off-by: Lucas Meneghel Rodrigues --- avocado/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avocado/runner.py b/avocado/runner.py index 7fc92e7a..6a756d61 100644 --- a/avocado/runner.py +++ b/avocado/runner.py @@ -259,7 +259,7 @@ class TestRunner(object): for test_factory in mux.itertests(test_template): if deadline is not None and time.time() > deadline: test_parameters = test_factory[1] - if test_parameters.has_key('methodName'): + if 'methodName' in test_parameters: del test_parameters['methodName'] test_factory = (test.TimeOutSkipTest, test_parameters) self.run_test(test_factory, queue, failures) -- GitLab