8000 Simplify default test stubs to speed up tests slightly by JukkaL · Pull Request #8179 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content

Simplify default test stubs to speed up tests slightly #8179

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 10 commits into from
Dec 20, 2019
Merged
Show file tree
Hide file tree
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 a few tests
  • Loading branch information
JukkaL committed Dec 19, 2019
commit 27f620ff3eec211b5981cb60deec79c6cb37770f
2 changes: 2 additions & 0 deletions test-data/unit/check-dataclasses.test
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Person('John', 32)
Person('Jonh', 21, None) # E: Too many arguments for "Person"

[builtins fixtures/list.pyi]
[typing fixtures/typing-full.pyi]

[case testDataclassesCustomInit]
# flags: --python-version 3.6
Expand Down Expand Up @@ -52,6 +53,7 @@ Person(32, 'John')
Person(21, 'Jonh', None) # E: Too many arguments for "Person"

[builtins fixtures/list.pyi]
[typing fixtures/typing-full.pyi]

[case testDataclassesDeepInheritance]
# flags: --python-version 3.6
Expand Down
1 change: 1 addition & 0 deletions test-data/unit/typexport-basic.test
Original file line number Diff line number Diff line change
Expand Up @@ -1154,6 +1154,7 @@ OpExpr(3) : builtins.list[builtins.str]
## .*
'%d' % 1
[builtins fixtures/primitives.pyi]
[typing fixtures/typing-full.pyi]
[out]
IntExpr(2) : Literal[1]?
OpExpr(2) : builtins.str
Expand Down
0