[Twisted-Python] Re: [Twisted-commits] r14397 - This appears to fix 2.2 support for me.
Jonathan Lange
jonathan.lange at gmail.com
Fri Sep 9 17:55:39 MDT 2005
On 10/09/05, James Y Knight <foom at fuhm.net> wrote:
> On Sep 9, 2005, at 7:27 PM, Jonathan Lange wrote:
>
> > On 10/09/05, Andrew Bennetts <andrew-twisted at puzzling.org> wrote:
> >
> >> On Fri, Sep 09, 2005 at 05:03:19PM -0600, Jonathan Lange wrote:
> >>
> >>> def addDoctests(self, obj):
> >>> + if sys.version[:2] <= (2, 2):
> >>> + return
> >>> from twisted.trial import tdoctest
> >>> self.addTest(tdoctest.ModuleDocTestsRunner(obj))
> >>>
> >>
> >> Make this at least issue a warning, please?
> >
> > Nevertheless, what you say is reasonable and proper. I will do as
> > you advise.
>
> I think doctests worked with Python 2.2 before. What broke?
>
They didn't. Trial has always had code to test for 2.3ness before
running doctests.
More information about the Twisted-Python
mailing list