Skip to content

make test alters ~/.python_history #139352

@yihong0618

Description

@yihong0618

Bug report

Bug description:

make test

after make test all history for repl gone and add values below

➜  cpython git:(hy/close_issue_139349) cat ~/.python_history         
pip install sampleproject
pip3 install sampleproject
python -m pip install sampleproject
python3 -m pip install sampleproject
sorted(dir())
import runpy
runpy._run_module_code('blech', {0: '', 'bluch': ''}, '')
runpy._run_module_code('blech', {0: '', 'bluch': ''}, '')d
runpy._run_module_code('blech', {0: '', 'bluch': ''}, '')

cc @picnixz

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Linked PRs

Metadata

Metadata

Assignees

Labels

3.13bugs and security fixes3.14bugs and security fixes3.15new features, bugs and security fixestestsTests in the Lib/test dirtopic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions