Skip to content

Commit e95f7b5

Browse files
JelleZijlstramsullivan
authored andcommitted
remove type: ignore (#4901)
We synced the fix from typeshed.
1 parent 62cb0d0 commit e95f7b5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mypy/test/testpep561.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ def is_in_venv() -> bool:
3838
if hasattr(sys, 'real_prefix'):
3939
return True
4040
else:
41-
# https://github.com/python/typeshed/pull/2047
42-
return hasattr(sys, 'base_prefix') and sys.base_prefix != sys.prefix # type: ignore
41+
return hasattr(sys, 'base_prefix') and sys.base_prefix != sys.prefix
4342

4443

4544
class TestPEP561(TestCase):

0 commit comments

Comments
 (0)