8000 gh-121245: a regression test for site.register_readline() by skirpichev · Pull Request #121259 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-121245: a regression test for site.register_readline() #121259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 3, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "XXX skip test_not_wiping_history_file() if pyrepl can't be used"
This reverts commit 77a7baa.
  • Loading branch information
skirpichev committed Jul 3, 2024
commit 8ed572dd152f13adf777ab6af811fa32ec32c04c
2 changes: 0 additions & 2 deletions Lib/test/test_pyrepl/test_pyrepl.py
Original file line number Diff line number Diff line change
Expand Up @@ -909,8 +909,6 @@ def test_not_wiping_history_file(self):
env.update({"PYTHON_HISTORY": hfile.name})
commands = "123\nspam\nexit()\n"
output, exit_code = self.run_repl(commands, env=env)
if "can\'t use pyrepl" in output:
self.skipTest("pyrepl not available")
self.assertEqual(exit_code, 0)
self.assertIn("123", output)
self.assertIn("spam", output)
Expand Down
0