Update curses_test.py

Fixed (maybe)