Skip to content

Commit 46fdc42

Browse files
authored
Remove unused type: ignore (#4695)
2 parents 24934db + e6ba3ad commit 46fdc42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg_resources/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2648,7 +2648,7 @@ def _cygwin_patch(filename: StrOrBytesPath): # pragma: nocover
26482648
would probably better, in Cygwin even more so, except
26492649
that this seems to be by design...
26502650
"""
2651-
return os.path.abspath(filename) if sys.platform == 'cygwin' else filename # type: ignore[type-var] # python/mypy#17952
2651+
return os.path.abspath(filename) if sys.platform == 'cygwin' else filename
26522652

26532653

26542654
if TYPE_CHECKING:

0 commit comments

Comments
 (0)