#32700: Small indentation issue in part 5 of tutorial
------------------------------------------------+------------------------
               Reporter:  mattdeann             |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  Uncategorized         |        Version:  3.2
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 In the Create a test to expose the bug section, smaller windows format

 class QuestionModelTests(TestCase):

     def test_was_published_recently_with_future_question(self):
         """
         was_published_recently() returns False for questions whose
 pub_date
         is in the future.
         """
         time = timezone.now() + datetime.timedelta(days=30)
         future_question = Question(pub_date=time)
         self.assertIs(future_question.was_published_recently(), False)


 in very confusing ways.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32700>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.7c1cd37340df6f5b22ad0b605ad26cc2%40djangoproject.com.

Reply via email to