diff options
| author | Christian Barcenas <christian@cbarcenas.com> | 2018-07-06 11:03:58 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-07-09 10:24:41 -0400 |
| commit | c9c6c166506bec59c57d4e3389e7ccd552e47ffc (patch) | |
| tree | 468b7c9840f70cf359a6b9c9475217e0baef64cd /tests/cache | |
| parent | 38e904e26576abffed3c257a1a741e1641c6f2de (diff) | |
Fixed #20584 -- Fixed memcached's get_many() with single-use iterators.
Thanks Guyon Morée for the report.
Diffstat (limited to 'tests/cache')
| -rw-r--r-- | tests/cache/tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/cache/tests.py b/tests/cache/tests.py index 9dd7fa78e0..542ac909ad 100644 --- a/tests/cache/tests.py +++ b/tests/cache/tests.py @@ -312,6 +312,7 @@ class BaseCacheTests: cache.set('d', 'd') self.assertEqual(cache.get_many(['a', 'c', 'd']), {'a': 'a', 'c': 'c', 'd': 'd'}) self.assertEqual(cache.get_many(['a', 'b', 'e']), {'a': 'a', 'b': 'b'}) + self.assertEqual(cache.get_many(iter(['a', 'b', 'e'])), {'a': 'a', 'b': 'b'}) def test_delete(self): # Cache keys can be deleted |
