Opened 7 years ago

Closed 7 years ago

#7366 closed (fixed)

Some doctests still use dicts repr on output

Reported by: leosoto Owned by: nobody
Component: Testing framework Version: master
Severity: Keywords: jython
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation:
Needs tests: Patch needs improvement:
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 leosoto 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by leosoto

comment:1 Changed 7 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

(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