Opened 16 years ago

Closed 16 years ago

#7366 closed (fixed)

Some doctests still use dicts repr on output

Reported by: Leo Soto M. Owned by: nobody
Component: Testing framework Version: dev
Severity: Keywords: jython
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

As pointed by Jacob on [7322], doctests with dict output may fail on other python implementations because the key ordering may be different.

I've found a few more cases, changed in the attached patch.

Attachments (1)

no-dicts-on-doctest-output.patch (4.2 KB ) - added by Leo Soto M. 16 years ago.

Download all attachments as: .zip

Change History (2)

by Leo Soto M., 16 years ago

comment:1 by Russell Keith-Magee, 16 years ago

Resolution: fixed
Status: newclosed

(In [7575]) Fixed #7366 -- Modified a few expected test outputs to remove the dependency on dictionary ordering. Thanks for the patch, Leo Soto.

Note: See TracTickets for help on using tickets.
Back to Top