is should not be used for comparing numbers
diff --git a/requests/models.py b/requests/models.py
index 6ed2b59946..2850950e86 100644
--- a/requests/models.py
+++ b/requests/models.py
@@ -575,7 +575,7 @@ def content(self):
                     raise RuntimeError(
                         'The content for this response was already consumed')
 
-                if self.status_code is 0:
+                if self.status_code == 0:
                     self._content = None
                 else:
                     self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or bytes()
