From f9390dac6ba91efafae6a949e8d03aca77a5f856 Mon Sep 17 00:00:00 2001 From: Ilia Glazkov Date: Thu, 2 Oct 2014 13:21:24 -0700 Subject: [PATCH] Fix SCAN tests for python2.6 --- tests/test_scan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_scan.py b/tests/test_scan.py index a9afa0e..bed4061 100644 --- a/tests/test_scan.py +++ b/tests/test_scan.py @@ -46,7 +46,7 @@ def tearDown(self): @inlineCallbacks def test_scan(self): self._skipCheck() - yield self.db.mset({k: 'value' for k in self.KEYS}) + yield self.db.mset(dict((k, 'value') for k in self.KEYS)) cursor, result = yield self.db.scan(pattern=self.PATTERN)