Browse Source

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 <michael@michaelrice.org>
Michael Rice 1 year ago
parent
commit
0268ce450c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tests/test_plugin_memcache.py

+ 1
- 1
tests/test_plugin_memcache.py View File

@@ -56,7 +56,7 @@ class TestMemcache(object):
56 56
 
57 57
     def test_get_memcached_stats(self, monkeypatch):
58 58
         """Ensure that get_memcached_stats() works."""
59
-        def mock_memcache_client(cls, (conn_tuple)):
59
+        def mock_memcache_client(cls, conn_tuple):
60 60
             """Mock a memcache client class."""
61 61
             return None
62 62
 

Loading…
Cancel
Save