mirror of
https://github.com/python/cpython.git
synced 2025-10-26 19:24:34 +00:00
gh-133875: Remove deprecated pathlib.PurePath.is_reserved (#133876)
This commit is contained in:
parent
7ae4749d06
commit
67036f1ee1
9 changed files with 15 additions and 36 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue