Skip to content

Manage pexpect logs created during doctesting #34416

@jhpalmieri

Description

@jhpalmieri

The line

            sage: os.environ['SAGE_PEXPECT_LOG'] = "1"

which appears twice in sage/doctest/forker.py turns on logging for pexpect, and this results in two files being created in DOT_SAGE/pexpect_logs every time you doctest this file.

Doctests pass after deleting these lines, so let's remove those lines.

CC: @mkoeppe

Component: doctest framework

Author: John Palmieri

Branch/Commit: 543b665

Reviewer: Matthias Koeppe

Issue created by migration from https://trac.sagemath.org/ticket/34416

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions