gh-133875: Remove deprecated pathlib.PurePath.is_reserved (#133876)

This commit is contained in:
sobolevn 2025-07-19 20:07:46 +03:00 committed by GitHub
parent 7ae4749d06
commit 67036f1ee1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 15 additions and 36 deletions

View file

@ -539,12 +539,6 @@ def test_with_stem_empty(self):
self.assertRaises(ValueError, P('a/b').with_stem, '')
self.assertRaises(ValueError, P('a/b').with_stem, '.')
def test_is_reserved_deprecated(self):
P = self.cls
p = P('a/b')
with self.assertWarns(DeprecationWarning):
p.is_reserved()
def test_full_match_case_sensitive(self):
P = self.cls
self.assertFalse(P('A.py').full_match('a.PY', case_sensitive=True))