Opened 17 years ago
Closed 17 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)
Change History (2)
by , 17 years ago
| Attachment: | no-dicts-on-doctest-output.patch added |
|---|
comment:1 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [7575]) Fixed #7366 -- Modified a few expected test outputs to remove the dependency on dictionary ordering. Thanks for the patch, Leo Soto.