From f7969b0920c403118656f6bfec58d6454d79ef1a Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Tue, 28 Oct 2014 12:02:56 +0200 Subject: Fixed #23620 -- Used more specific assertions in the Django test suite. --- tests/wsgi/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/wsgi') diff --git a/tests/wsgi/tests.py b/tests/wsgi/tests.py index 092d3a751e..e8f29c60d8 100644 --- a/tests/wsgi/tests.py +++ b/tests/wsgi/tests.py @@ -64,7 +64,7 @@ class GetInternalWSGIApplicationTest(unittest.TestCase): from .wsgi import application - self.assertTrue(app is application) + self.assertIs(app, application) @override_settings(WSGI_APPLICATION=None) def test_default(self): @@ -85,7 +85,7 @@ class GetInternalWSGIApplicationTest(unittest.TestCase): try: app = get_internal_wsgi_application() - self.assertTrue(app is fake_app) + self.assertIs(app, fake_app) finally: basehttp.get_wsgi_application = _orig_get_wsgi_app -- cgit v1.2.1