Terry J. Reedy added the comment: For some reason, rev73781 above links to rev55058:fb542ed91e7f, whereas the actual patch is bff927c8b410.
I think testing the replacement is reasonable, but should be call something like 'test_haskey_backup' and it should test that the backup worked, that curses.haskey exists and is the function in curses.haskey. It probably could go in default only. ---------- components: +Library (Lib), Tests -Extension Modules nosy: +terry.reedy stage: -> needs patch title: curses fails to import on Solaris -> Add test for curses haskey replacement type: -> enhancement versions: +Python 3.4, Python 3.5 -Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10598> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com