In addition to that I've been using the idiom
MyOutput == {this : dict}
True
And that works for tests and renders well on documents
R
On February 4, 2021 8:34:36 PM GMT-03:00, 'Travis Scrimshaw' via sage-devel
wrote:
>Hi John,
>IIRC, a dict has its keys automatically sorted in the output.
Hi John,
IIRC, a dict has its keys automatically sorted in the output. However,
if the dict is inside of another object, then no sorting is done. So if it
is a simple dict with a total ordering on the keys, then you can simply put
the output. You can also run sorted() on the items if they
Good, thank you for pointing that ticket out.
On Wednesday, February 3, 2021 at 9:43:46 AM UTC-8 dmo...@deductivepress.ca
wrote:
> I believe this was fixed by gh-kliem in trac #31263.
>
> On Wednesday, February 3, 2021 at 10:08:45 AM UTC-7 dim...@gmail.com
> wrote:
>
>> finally :-) (not sure
Can someone remind me the preferred way to get doctests to pass when
the output -- which we do want to include in the docstring -- includes
a dict whose keys come out in random order?
John
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To
On Thu, Feb 4, 2021 at 3:32 AM 'Travis Scrimshaw' via sage-devel
wrote:
>
> I am happy to mentor, but I am not sure I could take on being an admin this
> year (next year I could though).
admin is much less work than mentoring, I think.
>
> Best,
> Travis
>
>
> On Tuesday, February 2, 2021 at
Probably https://bugs.python.org/issue19733 is still relevant?
Note messages
test_image (tkinter.test.test_ttk.test_widgets.ButtonTest) ... skipped
'crashes with Cocoa Tk (issue19733)'
one gets by running
python3 runtktests.py
Even though 19733 was closed, it's not clear whether they tested on