8 lines
138 B
Python
8 lines
138 B
Python
|
# Tests that top-level ClassVar is not allowed
|
||
|
|
||
|
from __future__ import annotations
|
||
|
|
||
|
from typing import ClassVar
|
||
|
|
||
|
wrong: ClassVar[int] = 1
|