fixup! PY-86002 Disable "python.typing.strict.unions" and revert the tests updated for PY-24834 in 253

(cherry picked from commit 484b24ce81fe1364bc826f0a7aac9ea002bd148e)

IJ-MR-184619

GitOrigin-RevId: ee3d8595146bd960def96bd6130d8de765f86a78
This commit is contained in:
Mikhail Golubev
2025-12-03 18:20:08 +02:00
committed by intellij-monorepo-bot
parent de837fb378
commit 3c1d2da94f
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ async def expect_no_warning():
async def expect_new_warning():
await <warning descr="Function 'fun_non_async()' neither declared as 'async' nor with 'Awaitable' as return type">fun_non_async()</warning>
await <weak_warning descr="Function 'fun_non_async()' neither declared as 'async' nor with 'Awaitable' as return type">fun_non_async()</weak_warning>
def local_fun_non_async():

View File

@@ -2,7 +2,7 @@ from b import fun_awaitable_imported, MyAwaitable
async def expect_false_positive_warning():
await <warning descr="Function 'fun_awaitable_imported()' neither declared as 'async' nor with 'Awaitable' as return type">fun_awaitable_imported()</warning>
await <weak_warning descr="Function 'fun_awaitable_imported()' neither declared as 'async' nor with 'Awaitable' as return type">fun_awaitable_imported()</weak_warning>
async def expect_pass_1():