[Twisted-Python] Re: [Twisted-commits] r14397 - This appears to fix 2.2 support for me.

James Y Knight foom at fuhm.net
Fri Sep 9 19:49:51 EDT 2005


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?
>>
>>
>
> My antipathy to doctest is such that people using it with Python 2.2
> should consider themselves warned at all times.
>
> 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?

James





More information about the Twisted-Python mailing list