Adding unittest backport to 2.6.

This commit is contained in:
Sean Reifschneider 2015-08-02 17:54:10 -06:00
parent d6cc2096f3
commit e1d093fd49
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class TestMemcache(unittest.TestCase):
value = 'a' * SERVER_MAX_VALUE_LENGTH
self.assertFalse(self.mc.set(key, value))
# This test fails if the -I option is used on the memcached server
self.assertIsNone(self.mc.get(key))
self.assertIs(self.mc.get(key), None)
def test_get_set_multi_key_prefix(self):
"""Testing set_multi() with no memcacheds running."""