Skip to content

Commit 8379e1b

Browse files
committed
Update test case
1 parent 1da085e commit 8379e1b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mypyc/test-data/irbuild-classes.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1375,7 +1375,8 @@ class BadUse(): # E: native_class must be used with True or False only
13751375
from mypy_extensions import mypyc_attr
13761376

13771377
@mypyc_attr(native_class=True)
1378-
class M(type): # E: Inheriting from most builtin types is unimplemented
1378+
class M(type): # E: Inheriting from most builtin types is unimplemented \
1379+
# N: Potential workaround: @mypy_extensions.mypyc_attr(native_class=False)
13791380
pass
13801381

13811382
@mypyc_attr(native_class=True)

0 commit comments

Comments
 (0)