summaryrefslogtreecommitdiff
path: root/NEWS.d/2019-08-28-21-40-12.bpo-37972.kP-n4L.rst
blob: 22cb05261c420578f86cdae8cf5910ed41310bd5 (plain)
1
2
3
4
5
Subscripts to the `unittest.mock.call` objects now receive the same chaining mechanism as any other custom attributes, so that the following usage no longer raises a `TypeError`:

    call().foo().__getitem__('bar')

Patch by blhsing