Skip to content

Commit bdd5006

Browse files
committed
Make tests a bit easier to work with for Zuban
1 parent deaddd8 commit bdd5006

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

conformance/tests/generics_base_class.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Specification: https://typing.readthedocs.io/en/latest/spec/generics.html#arbitrary-generic-types-as-base-classes
22

3-
from typing import Generic, TypeVar, Iterable, assert_type
3+
from typing import Generic, TypeVar, assert_type
44

55
T = TypeVar("T")
66

conformance/tests/specialtypes_never.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def func2(x: int) -> int:
2929
if x > 0:
3030
return x
3131
stop()
32+
... # E?: This statement can be marked unreachable
3233
return "whatever works" # No type error
3334

3435

0 commit comments

Comments
 (0)