Django

Code

Ticket #7366 (closed: fixed)

Opened 3 months ago

Last modified 3 months ago

Some doctests still use dicts repr on output

Reported by: leosoto Assigned to: nobody
Milestone: Component: Unit test system
Version: SVN Keywords: jython
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation:
Needs tests: Patch needs improvement:

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

no-dicts-on-doctest-output.patch (4.2 kB) - added by leosoto on 06/04/08 16:16:34.

Change History

06/04/08 16:16:34 changed by leosoto

  • attachment no-dicts-on-doctest-output.patch added.

06/06/08 06:47:47 changed by russellm

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #7366 (Some doctests still use dicts repr on output)




Change Properties
Action