summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pathlib/test_pathlib.py
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2024-05-14 17:53:15 (GMT)
committerGitHub <noreply@github.com>2024-05-14 17:53:15 (GMT)
commitfbe6a0988ff08aef29c4649527d5d620d77ca4a2 (patch)
tree462634df3fdd8dae7f42d70fc3fc6a29f07ddfe9 /Lib/test/test_pathlib/test_pathlib.py
parentd8e0e009195b2388fb53012c1f0fa786426dc05f (diff)
downloadcpython-fbe6a0988ff08aef29c4649527d5d620d77ca4a2.zip
cpython-fbe6a0988ff08aef29c4649527d5d620d77ca4a2.tar.gz
cpython-fbe6a0988ff08aef29c4649527d5d620d77ca4a2.tar.bz2
GH-101357: Suppress `OSError` from `pathlib.Path.exists()` and `is_*()` (#118243)
Suppress all `OSError` exceptions from `pathlib.Path.exists()` and `is_*()` rather than a selection of more common errors as we do presently. Also adjust the implementations to call `os.path.exists()` etc, which are much faster on Windows thanks to GH-101196.
Diffstat (limited to 'Lib/test/test_pathlib/test_pathlib.py')
0 files changed, 0 insertions, 0 deletions