[issue34514] assertEqual doesn't use maxDiff when comparing dictionaries

2020-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34514] assertEqual doesn't use maxDiff when comparing dictionaries

2020-09-17 Thread Irit Katriel
Irit Katriel added the comment: I think this can be closed as not a bug, unless Victor can clarify with an example script why there is an issue. -- nosy: +iritkatriel ___ Python tracker

[issue34514] assertEqual doesn't use maxDiff when comparing dictionaries

2018-08-27 Thread Prudvi RajKumar Maddala
Prudvi RajKumar Maddala added the comment: I see that maxDiff is applied correctly when comparing dictionaries. I don't think that's an issue. -- ___ Python tracker ___

[issue34514] assertEqual doesn't use maxDiff when comparing dictionaries

2018-08-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: @victor I am little confused over the issue since you have said "`assertDictEqual()` "will be used by default to compare dictionaries in calls to assertEqual()" and "`maxDiff` doesn't apply to `assertEqual()` when comparing dictionaries" . Since

[issue34514] assertEqual doesn't use maxDiff when comparing dictionaries

2018-08-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: @prudvinit Reference : https://docs.python.org/3.8/library/unittest.html#unittest.TestCase.maxDiff > This attribute controls the maximum length of diffs output by assert methods > that report diffs on failure. It defaults to 80*8 characters.

[issue34514] assertEqual doesn't use maxDiff when comparing dictionaries

2018-08-26 Thread Prudvi RajKumar Maddala
Prudvi RajKumar Maddala added the comment: Hello Victor, can you tell me what is 'maxDiff'? Can you give me a simple example of expected output and actual output by taking a simple dictionary? Thanks -- nosy: +prudvinit ___ Python tracker

[issue34514] assertEqual doesn't use maxDiff when comparing dictionaries

2018-08-26 Thread Victor Engmark
New submission from Victor Engmark : According to the documentation `assertDictEqual()` "will be used by default to compare dictionaries in calls to assertEqual()." Great, since `maxDiff` applies to assertDictEqual(). However, `maxDiff` doesn't apply to `assertEqual()` when comparing