diff options
| author | Thomas Wouters <thomas@python.org> | 2023-10-13 11:40:12 (GMT) |
|---|---|---|
| committer | Thomas Wouters <thomas@python.org> | 2023-10-13 11:40:12 (GMT) |
| commit | 11bbe6c6e13980ef9fe2bc4c39b9642524062c4e (patch) | |
| tree | d849848fcb2d151def7dff387d60a3d6c83d30c1 /Lib/test/test_cmd_line_script.py | |
| parent | 4e011229a9a47c780c4ef6cd756685f15183b920 (diff) | |
| parent | 8316769d83a3bb9d11de397ee0ec615a358022bc (diff) | |
| download | cpython-11bbe6c6e13980ef9fe2bc4c39b9642524062c4e.zip cpython-11bbe6c6e13980ef9fe2bc4c39b9642524062c4e.tar.gz cpython-11bbe6c6e13980ef9fe2bc4c39b9642524062c4e.tar.bz2 | |
Merge branch 'main' of https://github.com/python/cpython
Diffstat (limited to 'Lib/test/test_cmd_line_script.py')
| -rw-r--r-- | Lib/test/test_cmd_line_script.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_cmd_line_script.py b/Lib/test/test_cmd_line_script.py index 1b58882..614c6b3 100644 --- a/Lib/test/test_cmd_line_script.py +++ b/Lib/test/test_cmd_line_script.py @@ -203,6 +203,8 @@ class CmdLineTest(unittest.TestCase): stderr = p.stderr if separate_stderr else p.stdout self.assertIn(b'Traceback ', stderr.readline()) self.assertIn(b'File "<stdin>"', stderr.readline()) + self.assertIn(b'1/0', stderr.readline()) + self.assertIn(b' ~^~', stderr.readline()) self.assertIn(b'ZeroDivisionError', stderr.readline()) def test_repl_stdout_flush(self): |
