Skip to content

Commit 75e0870

Browse files
committed
fix mysterious ci error
1 parent fff6c41 commit 75e0870

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test-data/unit/check-classvar.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ main:2: note: Revealed type is "builtins.int"
282282
main:3: error: Cannot assign to class variable "x" via instance
283283

284284
[case testClassVarWithGeneric]
285+
import types
285286
from typing import ClassVar, Generic, TypeVar, Type
286287
T = TypeVar('T')
287288
class A(Generic[T]):

0 commit comments

Comments
 (0)