Skip to content

Commit dfe19bb

Browse files
add note to tests
1 parent 3e98dce commit dfe19bb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

mypyc/test-data/irbuild-classes.test

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2690,12 +2690,15 @@ L0:
26902690
[case testInvalidMypycAttr]
26912691
from mypy_extensions import mypyc_attr
26922692

2693-
@mypyc_attr("allow_interpreted_subclasses", "invalid_arg") # E: 'invalid_arg' is not a supported `mypyc_attr`
2693+
@mypyc_attr("allow_interpreted_subclasses", "invalid_arg") # E: 'invalid_arg' is not a supported `mypyc_attr` \
2694+
# N: supported keys: 'allow_interpreted_subclasses', 'free_list_len', 'native_class', 'serializable'
26942695
class InvalidArg:
26952696
pass
2696-
@mypyc_attr(invalid_kwarg=True) # E: 'invalid_kwarg' is not a supported `mypyc_attr`
2697+
@mypyc_attr(invalid_kwarg=True) # E: 'invalid_kwarg' is not a supported `mypyc_attr` \
2698+
# N: supported keys: 'allow_interpreted_subclasses', 'free_list_len', 'native_class', 'serializable'
26972699
class InvalidKwarg:
26982700
pass
2699-
@mypyc_attr(str()) # E: All `mypyc_attr` args must be string literals.
2701+
@mypyc_attr(str()) # E: All `mypyc_attr` args must be string literals. \
2702+
# N: supported keys: 'allow_interpreted_subclasses', 'free_list_len', 'native_class', 'serializable'
27002703
class InvalidLiteral:
27012704
pass

0 commit comments

Comments
 (0)