This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Chris AtLee
Recipients Ankur.Ankan, Chris AtLee, Elena.Oat, Jacek.Bzdak, Puneeth.Chaganti, ankurankan, ezio.melotti, gregory.p.smith, levkivskyi, michael.foord, nnja, pitrou, rbcollins, serhiy.storchaka, vstinner
Date 2016-02-05.16:48:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454690895.95.0.752010536846.issue19217@psf.upfronthosting.co.za>
In-reply-to
Content
Switching this to unified_diff allows the test case to finish nearly instantly.

The downside is that the output is changed in the case of a difference found:

FF
======================================================================
FAIL: test_compare (__main__.SCSE)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_case.py", line 14, in test_compare
    self.assertEqual(arr1, arr2)
AssertionError: Lists differ: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,[29953 chars]1, 1] != [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,[29953 chars]2, 2]

First differing element 0:
1
2

Diff is 100034 characters long. Set self.maxDiff to None to see it.

======================================================================
FAIL: test_compare_2 (__main__.SCSE)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_case.py", line 24, in test_compare_2
    self.assertEqual(arr1, arr2)
AssertionError: Lists differ: [1, 1[29932 chars] 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] != [1, 1[29932 chars] 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2]

First differing element 9999:
1
2

--- 
+++ 
@@ -9997,4 +9997,4 @@
  1,
  1,
  1,
- 1]
+ 2]

----------------------------------------------------------------------
Ran 2 tests in 0.098s

FAILED (failures=2)
------------------------------------------------------------
History
Date User Action Args
2016-02-05 16:48:16Chris AtLeesetrecipients: + Chris AtLee, gregory.p.smith, pitrou, vstinner, rbcollins, ezio.melotti, michael.foord, serhiy.storchaka, Jacek.Bzdak, Ankur.Ankan, Elena.Oat, nnja, ankurankan, Puneeth.Chaganti, levkivskyi
2016-02-05 16:48:15Chris AtLeesetmessageid: <1454690895.95.0.752010536846.issue19217@psf.upfronthosting.co.za>
2016-02-05 16:48:15Chris AtLeelinkissue19217 messages
2016-02-05 16:48:15Chris AtLeecreate