Opened 9 years ago

Closed 9 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: master
Severity: Keywords: jython
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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. 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by Leo Soto M.

comment:1 Changed 9 years ago by Russell Keith-Magee

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