Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions test-data/unit/check-async-await.test
Original file line number Diff line number Diff line change
Expand Up @@ -819,8 +819,6 @@ def bar() -> None:
[typing fixtures/typing-async.pyi]

[case testAsyncForOutsideCoroutine]
# flags: --python-version 3.7

async def g():
yield 0

Expand All @@ -841,8 +839,6 @@ async for x in g(): ... # E: "async for" outside async function
[typing fixtures/typing-async.pyi]

[case testAsyncWithOutsideCoroutine]
# flags: --python-version 3.7

class C:
async def __aenter__(self): pass
async def __aexit__(self, x, y, z): pass
Expand All @@ -858,7 +854,6 @@ async with C() as x: # E: "async with" outside async function
[typing fixtures/typing-async.pyi]

[case testAwaitMissingNote]
# flags: --python-version 3.7
from typing import Generic, TypeVar, Generator, Any, Awaitable, Type

class C:
Expand Down
2 changes: 1 addition & 1 deletion test-data/unit/check-callable.test
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ else:
[builtins fixtures/callable.pyi]

[case testBuiltinsTypeAsCallable]
# flags: --python-version 3.7
# flags: --python-version 3.8
from __future__ import annotations

reveal_type(type) # N: Revealed type is "def (x: Any) -> builtins.type"
Expand Down
1 change: 0 additions & 1 deletion test-data/unit/check-dataclass-transform.test
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Person('Jonh', 21, None) # E: Too many arguments for "Person"
[builtins fixtures/dataclasses.pyi]

[case testDataclassTransformIsFoundInTypingExtensions]
# flags: --python-version 3.7
from typing import Type
from typing_extensions import dataclass_transform

Expand Down
Loading