Skip to content
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

mypy error: Too few arguments to "makeTestCaseClasses" #9811

Closed
twisted-trac opened this issue May 5, 2020 · 3 comments
Closed

mypy error: Too few arguments to "makeTestCaseClasses" #9811

twisted-trac opened this issue May 5, 2020 · 3 comments

Comments

@twisted-trac
Copy link

rodrigc's avatar @rodrigc reported
Trac ID trac#9811
Type enhancement
Created 2020-05-05 09:12:14Z

When running mypy over the Twisted codebase, I saw a lot of errors like this:

src/twisted/internet/test/test_newtls.py:200:18: error: Too few arguments for "makeTestCaseClasses"  [call-arg]
    globals().update(ProducerTestsMixin.makeTestCaseClasses())

It would be good to fix these.

Searchable metadata
trac-id__9811 9811
type__enhancement enhancement
reporter__rodrigc rodrigc
priority__normal normal
milestone__publish_types publish types
branch__ 
branch_author__ 
status__closed closed
resolution__fixed fixed
component__core core
keywords__None None
time__1588669934294615 1588669934294615
changetime__1594360403322407 1594360403322407
version__None None
owner__rodrigc rodrigc

@twisted-trac
Copy link
Author

rodrigc's avatar @rodrigc commented

#1261

@twisted-trac
Copy link
Author

glyph's avatar @glyph set owner to @rodrigc

@twisted-trac
Copy link
Author

rodrigc's avatar @rodrigc set status to closed

In changeset 79a26b0

#!CommitTicketReference repository="" revision="79a26b0aa4b1b81b46cc64d203644b35e455e46b"
Merge pull request #1261 from twisted/9811-rodrigc-mypy

Fix mypy error: Too few arguments to "makeTestCaseClasses"

Author: rodrigc
Reviewer: glyph
Fixes: ticket:9811

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant