Berker Peksag added the comment:
IIRC 3.5.3rc1 is already tagged so the 3.5 branch is open for 3.5.4. Anything
that needs to be in 3.5.3 should be cherry-picked by the RM at this point if
I'm not mistaken (and note that I don't have time check, but 3.5.3 may be the
last bugfix release of 3.5 series so you may just skip 3.5 :))
Like I already said in msg284589, the test code doesn't follow the current
style in Lib/unittest/test/testmock/testhelpers.py and it can be simplified
like the following patch:
def test_call_with_name(self):
- self.assertEqual(
- 'foo',
- _Call((), 'foo')[0],
- )
- self.assertEqual(
- '',
- _Call((('bar', 'barz'), ), )[0]
- )
- self.assertEqual(
- '',
- _Call((('bar', 'barz'), {'hello': 'world'}), )[0]
- )
+ self.assertEqual(_Call((), 'foo')[0], 'foo')
+ self.assertEqual(_Call((('bar', 'barz'),),)[0], '')
+ self.assertEqual(_Call((('bar', 'barz'), {'hello': 'world'}),)[0], '')
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue28961>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com