Skip to content

Commit

Permalink
Mark tests as uncovered.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Apr 4, 2024
1 parent 7f5d138 commit 518f406
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions path/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def suffix(self):
return suffix

@property
def ext(self):
def ext(self): # pragma: no cover
warnings.warn(
".ext is deprecated; use suffix",
DeprecationWarning,
Expand Down Expand Up @@ -1090,7 +1090,7 @@ def exists(self):
""".. seealso:: :func:`os.path.exists`"""
return self.module.exists(self)

def isdir(self):
def isdir(self): # pragma: no cover
warnings.warn(
"isdir is deprecated; use is_dir",
DeprecationWarning,
Expand All @@ -1101,7 +1101,7 @@ def is_dir(self):
""".. seealso:: :func:`os.path.isdir`"""
return self.module.isdir(self)

def isfile(self):
def isfile(self): # pragma: no cover
warnings.warn(
"isfile is deprecated; use is_file",
DeprecationWarning,
Expand Down

0 comments on commit 518f406

Please sign in to comment.