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

[red-knot] Migrate is_subtype_of unit tests to Markdown tests #15469

Merged
merged 4 commits into from
Jan 14, 2025

Conversation

InSyncWithFoo
Copy link
Contributor

Summary

Part of #15397.

Test Plan

Markdown tests.

@InSyncWithFoo InSyncWithFoo changed the title Migrate is_subtype_of unit tests to Markdown tests [red-knot] Migrate is_subtype_of unit tests to Markdown tests Jan 14, 2025
Copy link
Contributor

github-actions bot commented Jan 14, 2025

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@AlexWaygood AlexWaygood added testing Related to testing Ruff itself red-knot Multi-file analysis & type inference labels Jan 14, 2025
@MichaReiser MichaReiser removed their request for review January 14, 2025 12:48
Copy link
Contributor

@sharkdp sharkdp left a comment

Choose a reason for hiding this comment

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

Thank you very much!

I think we can probably extend these tests and potentially organize them a little better now that it's easier to do so, but this does not (should not?) happen in this PR. I added a couple of review comments, but I'm also happy to merge this as a "pure refactoring" PR and incorporate these improvements myself as a follow up. Let me know what you think.

@InSyncWithFoo
Copy link
Contributor Author

InSyncWithFoo commented Jan 14, 2025

@sharkdp Please go right ahead! It would be rather unproductive for me to perform such organizational changes.

Copy link
Contributor

@sharkdp sharkdp left a comment

Choose a reason for hiding this comment

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

Thank you for the updates. I made one minor change. I think this is an accurate representation of the tests we had before. If someone wants to make improvements to this test suite, we can always do them on top of this change after it's merged.

@sharkdp sharkdp merged commit 5ed7b55 into astral-sh:main Jan 14, 2025
21 checks passed
@InSyncWithFoo InSyncWithFoo deleted the rk-pt-is-subtype-of branch January 14, 2025 15:14
carljm pushed a commit that referenced this pull request Jan 14, 2025
…15470)

## Summary

Part of #15397, built on top of #15469.

## Test Plan

Markdown tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
red-knot Multi-file analysis & type inference testing Related to testing Ruff itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants