gh-125843: fix `test_curses.test_attributes` on x86-64 macOS (#134252) · python/cpython@e007e62 · GitHub
Skip to content

Commit e007e62

Browse files
authored
gh-125843: fix test_curses.test_attributes on x86-64 macOS (#134252)
While some `libcurses` functions are meant to return OK on success, this is not always the case for all implementations. As such, we relax the checks on the return values and allow any non-ERR value to be considered equivalent to OK.
1 parent 28625d4 commit e007e62

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

Modules/_cursesmodule.c

Lines changed: 4 additions & 6 deletions

0 commit comments

Comments
 (0)