diff --git a/django/contrib/sites/tests.py b/django/contrib/sites/tests.py index d2ec331eca..5c38ee1b6d 100644 --- a/django/contrib/sites/tests.py +++ b/django/contrib/sites/tests.py @@ -2,8 +2,8 @@ >>> # Make sure that get_current() does not return a deleted Site object. >>> from django.contrib.sites.models import Site >>> s = Site.objects.get_current() ->>> s - +>>> isinstance(s, Site) +True >>> s.delete() >>> Site.objects.get_current()