]> granicus.if.org Git - python/commitdiff
Issue #24857: Comparing call_args to a long sequence now correctly returns a
authorBerker Peksag <berker.peksag@gmail.com>
Wed, 9 Sep 2015 20:39:45 +0000 (23:39 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Wed, 9 Sep 2015 20:39:45 +0000 (23:39 +0300)
boolean result instead of raising an exception.

Patch by A Kaptur.

1  2 
Lib/unittest/mock.py
Lib/unittest/test/testmock/testmock.py
Misc/NEWS

Simple merge
diff --cc Misc/NEWS
index 4c3385007e2d288975c6a2af0f64db1a5428eb49,01913a50860b35c243158d7d4ecbe24db61d5b38..7b7b697cd0fa540ace63544d802e9a434eec972d
+++ b/Misc/NEWS
@@@ -11,21 -10,6 +11,24 @@@ Release date: TB
  Core and Builtins
  -----------------
  
 +Library
 +-------
 +
++- Issue #24857: Comparing call_args to a long sequence now correctly returns a
++  boolean result instead of raising an exception.  Patch by A Kaptur.
++
 +- Issue #23144: Make sure that HTMLParser.feed() returns all the data, even
 +  when convert_charrefs is True.
 +
 +- Issue #24982: shutil.make_archive() with the "zip" format now adds entries
 +  for directories (including empty directories) in ZIP file.
 +
 +- Issue #25019: Fixed a crash caused by setting non-string key of expat parser.
 +  Based on patch by John Leitch.
 +
 +- Issue #16180: Exit pdb if file has syntax error, instead of trapping user
 +  in an infinite loop.  Patch by Xavier de Gaye.
 +
  - Issue #24891: Fix a race condition at Python startup if the file descriptor
    of stdin (0), stdout (1) or stderr (2) is closed while Python is creating
    sys.stdin, sys.stdout and sys.stderr objects. These attributes are now set