From 0268ce450c3db67b657d72a72bec284490f0aa46 Mon Sep 17 00:00:00 2001 From: Michael Rice Date: Mon, 8 May 2017 12:12:26 -0500 Subject: [PATCH] Removes tuple unpacking from memcache test Per pep 3113 Python 3 does not support tuple parameter unpacking. This change removes the tuple from the function param in the memcache plugin test since nothing is done with it anyway. Change-Id: I08c84cab308bbb405e5864fb0417f00c5310e71a Closes-Bug: 1689347 Signed-off-by: Michael Rice --- tests/test_plugin_memcache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_plugin_memcache.py b/tests/test_plugin_memcache.py index 75cbe6c..1e3760b 100644 --- a/tests/test_plugin_memcache.py +++ b/tests/test_plugin_memcache.py @@ -56,7 +56,7 @@ class TestMemcache(object): def test_get_memcached_stats(self, monkeypatch): """Ensure that get_memcached_stats() works.""" - def mock_memcache_client(cls, (conn_tuple)): + def mock_memcache_client(cls, conn_tuple): """Mock a memcache client class.""" return None