Skip to content
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
Apply suggestions from code review to double-check that the tests are…
… working as expected.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
  • Loading branch information
devdanzin and AlexWaygood authored Jun 26, 2024
commit 0f0ee3926db3de63989a4112b76e5478eaf54ab9
2 changes: 2 additions & 0 deletions Lib/test/test_pyrepl/test_pyrepl.py
Original file line number Diff line number Diff line change
Expand Up @@ -875,13 +875,15 @@ def test_python_basic_repl(self):
self.skipTest("pyrepl not available")
self.assertEqual(exit_code, 0)
self.assertIn("True", output)
Comment thread
devdanzin marked this conversation as resolved.
self.assertNotIn("False", output)
self.assertNotIn("Exception", output)
self.assertNotIn("Traceback", output)

env["PYTHON_BASIC_REPL"] = "1"
output, exit_code = self.run_repl(commands, env=env)
self.assertEqual(exit_code, 0)
self.assertIn("False", output)
Comment thread
devdanzin marked this conversation as resolved.
self.assertNotIn("True", output)
self.assertNotIn("Exception", output)
self.assertNotIn("Traceback", output)

Expand Down