Skip to content

Commit 6d0656e

Browse files
committed
Remove assert 0xcafe in output
1 parent ff962db commit 6d0656e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Lib/test/test_pyrepl/test_pyrepl.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1740,8 +1740,10 @@ def test_history_survive_crash(self):
17401740
self.assertIn("2", history)
17411741
self.assertIn("exit()", history)
17421742
self.assertIn("spam", history)
1743-
self.assertIn("0xcafe", history)
17441743
self.assertIn("import time", history)
1744+
# History is written after each command's output is printed to the
1745+
# console, so depending on how quickly the process is killed,
1746+
# the last command may or may not be written to the history file.
17451747
self.assertNotIn("sleep", history)
17461748
self.assertNotIn("quit", history)
17471749

0 commit comments

Comments
 (0)