Skip to content

Commit 9efa047

Browse files
committed
Update test
1 parent a18ee3a commit 9efa047

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mypyc/test-data/commandline.test

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@ Foo.lol = 50 # E: Only class variables defined as ClassVar can be assigned to
138138
def decorator(x: Any) -> Any:
139139
return x
140140

141-
class NeverMetaclass(type): # E: Inheriting from most builtin types is unimplemented
141+
class NeverMetaclass(type): # E: Inheriting from most builtin types is unimplemented \
142+
# N: Potential workaround: @mypy_extensions.mypyc_attr(native_class=False) \
143+
# N: https://mypyc.readthedocs.io/en/stable/native_classes.html#defining-non-native-classes
142144
pass
143145

144146
class Concrete1:

0 commit comments

Comments
 (0)