Groups
Groups
Sign in
Groups
Groups
leo-editor
Conversations
Labels
About
Send feedback
Help
New python importer fails this test
16 views
Skip to first unread message
Edward K. Ream
unread,
Dec 7, 2021, 5:43:03 PM
12/7/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to leo-editor
def test_mypy_data_dot_py(self):
# From mypy/mypy/test/data.pyi
s = """
def __init__(self,
parent: 'DataSuiteCollector',
suite: 'DataSuite',
line: int) -> None:
super().__init__(name, parent)
if ((platform == 'windows' and sys.platform != 'win32')
or (platform == 'posix' and sys.platform == 'win32')):
skip = True
self.skip = skip
"""
self.run_test(s)
There are several failures among the mypy sources.
Edward
Edward K. Ream
unread,
Dec 7, 2021, 5:44:52 PM
12/7/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to leo-editor
On Tuesday, December 7, 2021 at 4:43:03 PM UTC-6 Edward K. Ream wrote:
# From mypy/mypy/test/data.pyi
Oops. The file is data.py, not data.pyi. The file is part of
https://github.com/python/mypy
Edward
Reply all
Reply to author
Forward
0 new messages