summaryrefslogtreecommitdiff
path: root/tests/wsgi/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wsgi/tests.py')
-rw-r--r--tests/wsgi/tests.py4
1 files changed, 2 insertions, 2 deletions
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