[Python-Dev] test_doctest failing, but perhaps by accident

Tim Peters tim.one@home.com
Wed, 21 Mar 2001 16:17:39 -0500


[Michael Hudson]
> Yes.  Linux.
>
> I'm getting:
>
> We expected (repr): 'doctest.Tester.runstring.__doc__'
> But instead we got: 'doctest.Tester.summarize.__doc__'

Same thing, then (Jeremy, *don't* use -r).

>> Does not fail in isolation.

> Indeed.

> How does doctest order it's tests?  I bet the changes just made to
> dictobject.c make the order of dict.items() slightly unpredictable
> (groan).

As just posted, doctest uses whatever .items() returns but probably
shouldn't.  It's hard to see how the dictobject.c changes could affect that,
but I have to agree they're the most likley suspect.  I'll back those out
locally and see whether the problem persists.

But I'm going to eat first!