[Patch #1005892 from Alexandr Zamaraev]  Fix two errors in the curses test suite
[Patch #1005892 from Alexandr Zamaraev]  Fix two errors in the curses test suite

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator