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

Added a test file and updated semanal_enum file. #8499

Closed
wants to merge 16 commits into from
Closed

Added a test file and updated semanal_enum file. #8499

wants to merge 16 commits into from

Conversation

Arshaan-256
Copy link

Issue: #8344.
Added a check for valid IntEnum arguments. Wrote the test file.

test-data/unit/check-intEnum-arguments.test Outdated Show resolved Hide resolved
mypy/semanal_enum.py Outdated Show resolved Hide resolved
mypy/semanal_enum.py Outdated Show resolved Hide resolved
mypy/semanal_enum.py Outdated Show resolved Hide resolved
mypy/semanal_enum.py Outdated Show resolved Hide resolved
@@ -0,0 +1,7 @@
[case testIntEnumArguments]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of adding a new test file, can you add the test case to test-data/unit/check-enum.test instead? Currently the test case won't be run, I think.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, will do!

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

Successfully merging this pull request may close these issues.

5 participants