You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AssertionError is exported by the assert module.
The documentation has many mentions to AssertionError but the value itself is not documented. I think it deserves a paragraph.
@shubheksha It should probably include AssertionError as a new heading, mention since when it is exported (let me know/ping me on IRC if you are not sure how to figure that out), and mention/explain its own properties (actual, expected, operator, and maybe generatedMessage).
@shubheksha Either that, or at the very bottom (and as a ## heading, under the big # Assert one, in any case). The headings should be sorted alphabetically, but I’m not sure myself how to interpret that here. 😄
@shubheksha Or you can put it in errors.md and link to it from assert.md. The other way around works fine too, but I think the examples in errors.md would help you know what needs to be included :D
Activity
joyeecheung commentedon Apr 10, 2017
Labeled as a good first contribution for now. We can remove it later if nobody opens a PR for it.
shubheksha commentedon Apr 10, 2017
Hey, I can help with this if given some pointers about what regarding
AssertionErrorneeds to be included. 😄addaleax commentedon Apr 10, 2017
@shubheksha It should probably include
AssertionErroras a new heading, mention since when it is exported (let me know/ping me on IRC if you are not sure how to figure that out), and mention/explain its own properties (actual,expected,operator, and maybegeneratedMessage).shubheksha commentedon Apr 10, 2017
@addaleax, thanks for the info! Will it go as a heading in
assert.mdat the very top?addaleax commentedon Apr 10, 2017
@shubheksha Either that, or at the very bottom (and as a
##heading, under the big# Assertone, in any case). The headings should be sorted alphabetically, but I’m not sure myself how to interpret that here. 😄joyeecheung commentedon Apr 11, 2017
@shubheksha Or you can put it in
errors.mdand link to it fromassert.md. The other way around works fine too, but I think the examples inerrors.mdwould help you know what needs to be included :Daddaleax commentedon May 19, 2017
ping @shubheksha … is there anything we can help with? :)
doc: add docs for AssertionError
doc: add docs for AssertionError
doc: add docs for AssertionError