8000 Function compatibility rewrite by sixolet · Pull Request #2521 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content

Function compatibility rewrite #2521

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Dec 22, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix tests
  • Loading branch information
sixolet committed Dec 22, 2016
commit 4397926ef304f42474c4e8a5d642ced2c9b0c678
8 changes: 4 additions & 4 deletions test-data/unit/check-functions.test
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ ee_def = specific_1 # E: Incompatible types in assignment (expression has type C

[case testLackOfNamesImplicitAny]

def f(__a): pass
def g(a): pass
def f(__a) -> Any: pass
def g(a) -> Any: pass

ff = f
gg = g
Expand All @@ -161,8 +161,8 @@ gg = f # E: Incompatible types in assignment (expression has type Callable[[Any]
[case testLackOfNamesImplicitAnyFastparse]
# flags: --fast-parser

def f(__a): pass
def g(a): pass
def f(__a) -> Any: pass
def g(a) -> Any: pass

ff = f
gg = g
Expand Down
0