Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
make test not use index to avoid interaction with line number bug
  • Loading branch information
JelleZijlstra committed Jan 23, 2017
commit 6ba17b330a1d51b7de16ba607864ba98ff5d523a
2 changes: 1 addition & 1 deletion test-data/unit/check-class-namedtuple.test
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ import typing
class X(typing.NamedTuple):
x: int
y = None # type: int # E: Invalid statement in NamedTuple definition; expected "field_name: field_type"
x[0]: int # E: Invalid statement in NamedTuple definition; expected "field_name: field_type"
x.__init__: int # E: Invalid statement in NamedTuple definition; expected "field_name: field_type"
z: str = 'z'
aa: int # E: Non-default NamedTuple fields cannot follow default fields

Expand Down