Fix the mscs tests on Windows, and use the improved Simplify for all tests instead.
This commit is contained in:
@@ -15,35 +15,35 @@ Execute(The mypy handler should parse lines correctly):
|
||||
\ {
|
||||
\ 'lnum': 768,
|
||||
\ 'col': 38,
|
||||
\ 'filename': ale#path#Winify(g:dir . '/baz.py'),
|
||||
\ 'filename': ale#path#Simplify(g:dir . '/baz.py'),
|
||||
\ 'type': 'E',
|
||||
\ 'text': 'Cannot determine type of ''SOME_SYMBOL''',
|
||||
\ },
|
||||
\ {
|
||||
\ 'lnum': 821,
|
||||
\ 'col': 38,
|
||||
\ 'filename': ale#path#Winify(g:dir . '/baz.py'),
|
||||
\ 'filename': ale#path#Simplify(g:dir . '/baz.py'),
|
||||
\ 'type': 'E',
|
||||
\ 'text': 'Cannot determine type of ''SOME_SYMBOL''',
|
||||
\ },
|
||||
\ {
|
||||
\ 'lnum': 38,
|
||||
\ 'col': 44,
|
||||
\ 'filename': ale#path#Winify(g:dir . '/other.py'),
|
||||
\ 'filename': ale#path#Simplify(g:dir . '/other.py'),
|
||||
\ 'type': 'E',
|
||||
\ 'text': 'Cannot determine type of ''ANOTHER_SYMBOL''',
|
||||
\ },
|
||||
\ {
|
||||
\ 'lnum': 15,
|
||||
\ 'col': 3,
|
||||
\ 'filename': ale#path#Winify(g:dir . '/__init__.py'),
|
||||
\ 'filename': ale#path#Simplify(g:dir . '/__init__.py'),
|
||||
\ 'type': 'E',
|
||||
\ 'text': 'Argument 1 to "somefunc" has incompatible type "int"; expected "str"'
|
||||
\ },
|
||||
\ {
|
||||
\ 'lnum': 72,
|
||||
\ 'col': 1,
|
||||
\ 'filename': ale#path#Winify(g:dir . '/__init__.py'),
|
||||
\ 'filename': ale#path#Simplify(g:dir . '/__init__.py'),
|
||||
\ 'type': 'W',
|
||||
\ 'text': 'Some warning',
|
||||
\ },
|
||||
|
||||
Reference in New Issue
Block a user