Skip to content

Commit 8e50a2e

Browse files
committed
test: remove meanless test
1 parent a512426 commit 8e50a2e

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

tests/typesafety/test_generic.yml

-19
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@
133133
main:9: note: Revealed type is "builtins.str"
134134
main:12: note: Revealed type is "builtins.list[builtins.str]"
135135
- case: item_extract_with_flag_is_many
136-
skip: sys.version_info.minor < 8
137136
main: |
138137
from tests.utils import D
139138
from data_extractor import RV, Item
@@ -150,24 +149,6 @@
150149
out: |
151150
main:9: note: Revealed type is "TypedDict({})"
152151
main:12: note: Revealed type is "builtins.list[TypedDict({})]"
153-
- case: item_extract_with_flag_is_many/compat
154-
skip: sys.version_info.minor >= 8
155-
main: |
156-
from tests.utils import D
157-
from data_extractor import RV, Item
158-
159-
class C(Item[RV]):
160-
pass
161-
162-
f1 = C(D())
163-
rv = f1.extract([1])
164-
reveal_type(rv)
165-
f2 = C(D(), is_many=True)
166-
rvs = f2.extract([1])
167-
reveal_type(rvs)
168-
out: |
169-
main:9: note: Revealed type is "Any"
170-
main:12: note: Revealed type is "builtins.list[Any]"
171152
- case: field_is_many_work_with_assign_expr
172153
main: |
173154
from tests.utils import D

0 commit comments

Comments
 (0)