8000 gh-86943: implement `pathlib.WindowsPath.is_mount()` by barneygale · Pull Request #31458 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-86943: implement pathlib.WindowsPath.is_mount() #31458

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove test that '/\x00` (posix) and 'c:\\\x00' aren't mounts.
These paths are invalid on posix and windows.
  • Loading branch information
barneygale committed Jul 31, 2022
commit 8749589c7efc6f0950cdd383b891925f31bf3e7b
1 change: 0 additions & 1 deletion Lib/test/test_pathlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -2308,7 +2308,6 @@ def test_is_mount(self):
if os_helper.can_symlink():
self.assertFalse((P / 'linkA').is_mount())
self.assertIs((R / '\udfff').is_mount(), False)
self.assertIs((R / '\x00').is_mount(), False)

def test_is_symlink(self):
P = self.cls(BASE)
Expand Down
0