This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author exarkun
Recipients exarkun
Date 2009-12-14.02:23:34
SpamBayes Score 0.0009019829
Marked as misclassified No
Message-id <1260757418.81.0.639344471031.issue7502@psf.upfronthosting.co.za>
In-reply-to
Content
Consider this example, based on two doctests from Twisted:

  from doctest import DocTestSuite
  import twisted.web2.stream
  docTestOne = DocTestSuite(twisted.web2.stream)._tests[0]
  import twisted.web2.test.test_stream
  docTestTwo = DocTestSuite(twisted.web2.test.test_stream)._tests[0]
  print docTestOne.id(), '==', docTestTwo.id(), '?'
  print docTestOne == docTestTwo

One might reasonably expect a false result, since the two DocTestCase
instances represent two different doctests.  One will meet with
surprise, though.
History
Date User Action Args
2009-12-14 02:23:38exarkunsetrecipients: + exarkun
2009-12-14 02:23:38exarkunsetmessageid: <1260757418.81.0.639344471031.issue7502@psf.upfronthosting.co.za>
2009-12-14 02:23:34exarkunlinkissue7502 messages
2009-12-14 02:23:34exarkuncreate