Skip to content

Run test_curses_interactive in CI #697

Open
@geofft

Description

@geofft

From src/verify_distribution.py:

    @unittest.skipIf(os.name == "nt", "curses not available on Windows")
    @unittest.skipIf("TERM" not in os.environ, "TERM not set")
    def test_curses_interactive(self):
        import curses
        
        curses.initscr()
        curses.endwin()

I believe this is getting skipped in GitHub Actions, but it's probably enough to run this inside a pty, we just need to set TERM to some valid value. If not we can try to run it in a real headless terminal like screen/tmux or something (just make sure we report the exit status correctly).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions