10000 Specify that assert_type() uses equivalence by JelleZijlstra · Pull Request #2011 · python/typing · GitHub
[go: up one dir, main page]

Skip to content

Specify that assert_type() uses equival 8000 ence #2011

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extensi F76E on

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
pyright is passing
  • Loading branch information
JelleZijlstra committed Jun 29, 2025
commit f7619dfd1259d4f0d259eb38203b8a4625413cc7
5 changes: 1 addition & 4 deletions conformance/results/pyright/directives_assert_type.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
conformant = "Fail"
notes = """
Fails to treat equivalent unions as equivalent.
"""
conformant = "Pass"
output = """
directives_assert_type.py:27:17 - error: "assert_type" mismatch: expected "int" but received "int | str" (reportAssertTypeFailure)
directives_assert_type.py:28:17 - error: "assert_type" mismatch: expected "Any" but received "int | str" (reportAssertTypeFailure)
Expand Down
0