summaryrefslogtreecommitdiff
path: root/Misc/NEWS.d/next/Library/2019-08-28-21-40-12.bpo-37972.kP-n4L.rst
blob: 73d9ef77762b781bdb782442c8076c207152824b (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