From c5f9fedeb25646b32134e0f82b2ea64854d3718d Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 11 Jul 2014 18:47:12 +0200 Subject: Drop unused variable --- tests/test_debiandistro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_debiandistro.py b/tests/test_debiandistro.py index c01efd8..b2041ff 100644 --- a/tests/test_debiandistro.py +++ b/tests/test_debiandistro.py @@ -94,7 +94,7 @@ class TestDebianDistro(unittest.TestCase): pkgs = {'pkg1': DebianPkg('pkg1'), 'pkg2': DebianPkg('pkg2'), } - with patch('apt_pkg.Cache') as mock: + with patch('apt_pkg.Cache'): DebianDistro.filter_security_updates(pkgs) apt_pkg_init.assert_called_once_with() apt_pkg_acquire.assert_called_once_with() -- cgit v1.2.3