summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-12-05 03:34:35 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-12-05 03:34:35 +0000
commit027f2a378a836d828347f3d295cae4f83a9cad71 (patch)
tree59d722364447bc5acc32520d6867e270e548457b
parent74d69af4e9113dc34528871ea353136b2d538f9b (diff)
Added unit tests for #982, but they're passing for me on Python 2.4. Maybe the problem is Python 2.3? Refs #982
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--tests/testapp/models/basic.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testapp/models/basic.py b/tests/testapp/models/basic.py
index 749d84ec44..c3a45ba5bd 100644
--- a/tests/testapp/models/basic.py
+++ b/tests/testapp/models/basic.py
@@ -158,6 +158,12 @@ datetime.datetime(2005, 7, 31, 12, 30, 45)
>>> a8.id
8L
+>>> a7 == a8
+False
+>>> a8 == articles.get_object(id__exact=8)
+True
+>>> a7 != a8
+True
"""
from django.conf import settings