Eric V. Smith added the comment:
example_text is not a field, since you're not giving it a type. It's just a
normal class member.
The only field in the NamedTuple is example_int. You can't specify any other
field in the call to MyTestedTuple().
To see this, help(MyTestedTuple) starts with:
New submission from PBrudny :
There is an issue when NamedTuple parameter with default, which has not
explicitly declared type is changed by keyword. Is that an expected behavior
(no info
https://docs.python.org/3.7/library/collections.html#collections.namedtuple)
Used python release: