summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/__init__.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-06-18 08:34:57 (GMT)
committerGitHub <noreply@github.com>2022-06-18 08:34:57 (GMT)
commitf9433fff476aa13af9cb314fcc6962055faa4085 (patch)
tree1e8510f86eda5b339ab35c30127d00d5bf6d57f4 /Lib/unittest/__init__.py
parent084023ccbeb3bf54a2e19873c6a4b0bec7b617f6 (diff)
downloadcpython-f9433fff476aa13af9cb314fcc6962055faa4085.zip
cpython-f9433fff476aa13af9cb314fcc6962055faa4085.tar.gz
cpython-f9433fff476aa13af9cb314fcc6962055faa4085.tar.bz2
gh-89828: Do not relay the __class__ attribute in GenericAlias (#93754)
list[int].__class__ returned type, and isinstance(list[int], type) returned True. It caused numerous problems in code that checks isinstance(x, type).
Diffstat (limited to 'Lib/unittest/__init__.py')
0 files changed, 0 insertions, 0 deletions