Changing assertIs from last patch to assertTrue.

This commit is contained in:
Sean Reifschneider 2015-08-02 17:57:17 -06:00
parent f65b1dcfe2
commit 37f55ca4ad
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,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.assertIs(self.mc.get(key), None)
self.assertTrue(self.mc.get(key) is None)
def test_get_set_multi_key_prefix(self):
"""Testing set_multi() with no memcacheds running."""