Fixed #23620 -- Used more specific assertions in the Django test suite.

This commit is contained in:
Berker Peksag 2014-10-28 12:02:56 +02:00 committed by Tim Graham
parent c0c78f1b70
commit f7969b0920
83 changed files with 419 additions and 429 deletions

View file

@ -2084,7 +2084,7 @@ class CacheHandlerTest(TestCase):
cache1 = caches['default']
cache2 = caches['default']
self.assertTrue(cache1 is cache2)
self.assertIs(cache1, cache2)
def test_per_thread(self):
"""
@ -2101,4 +2101,4 @@ class CacheHandlerTest(TestCase):
t.start()
t.join()
self.assertFalse(c[0] is c[1])
self.assertIsNot(c[0], c[1])