summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_weakset.py
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2024-01-31 00:38:01 (GMT)
committerGitHub <noreply@github.com>2024-01-31 00:38:01 (GMT)
commit1667c2868633a1091b3519594103ca7662d64d75 (patch)
tree08b86dc15138b9b2a4fa04c89dbd46c4db5e3d79 /Lib/test/test_weakset.py
parenta06b606462740058b5d52fefdcdcd679d4f40260 (diff)
downloadcpython-1667c2868633a1091b3519594103ca7662d64d75.zip
cpython-1667c2868633a1091b3519594103ca7662d64d75.tar.gz
cpython-1667c2868633a1091b3519594103ca7662d64d75.tar.bz2
pathlib ABCs: raise `UnsupportedOperation` directly. (#114776)
Raise `UnsupportedOperation` directly, rather than via an `_unsupported()` helper, to give human readers and IDEs/typecheckers/etc a bigger hint that these methods are abstract.
Diffstat (limited to 'Lib/test/test_weakset.py')
0 files changed, 0 insertions, 0 deletions