Message244523
This patch allows many context managers to accept keyword arguments called “func” and “self”. Current behaviour:
>>> with TestCase().subTest(func="blaua"): pass
...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.4/contextlib.py", line 126, in helper
return _GeneratorContextManager(func, *args, **kwds)
TypeError: __init__() got multiple values for argument 'func' |
|
Date |
User |
Action |
Args |
2015-05-31 07:55:38 | martin.panter | set | recipients:
+ martin.panter |
2015-05-31 07:55:38 | martin.panter | set | messageid: <1433058938.29.0.435645583396.issue24336@psf.upfronthosting.co.za> |
2015-05-31 07:55:38 | martin.panter | link | issue24336 messages |
2015-05-31 07:55:37 | martin.panter | create | |
|