summaryrefslogtreecommitdiff
path: root/Lib/test/test_cmd_line.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-11-03 15:56:05 +0200
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-11-03 15:56:05 +0200
commit76bcff27b2429d15805003ebeac8452698a61870 (patch)
tree2836230b92db267a387d45d7de23588770984261 /Lib/test/test_cmd_line.py
parent6b973747f3c5e31afd89f6a7d79bc9f3f1628710 (diff)
downloadcpython-git-76bcff27b2429d15805003ebeac8452698a61870.tar.gz
Issue #7317: Display full tracebacks when an error occurs asynchronously.
Patch by Alon Horev with update by Alexey Kachayev.
Diffstat (limited to 'Lib/test/test_cmd_line.py')
-rw-r--r--Lib/test/test_cmd_line.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py
index cbe1e5545d..4b39115de8 100644
--- a/Lib/test/test_cmd_line.py
+++ b/Lib/test/test_cmd_line.py
@@ -310,7 +310,7 @@ class CmdLineTest(unittest.TestCase):
rc, out, err = assert_python_ok('-c', code)
self.assertEqual(b'', out)
self.assertRegex(err.decode('ascii', 'ignore'),
- 'Exception OSError: .* ignored')
+ 'Exception ignored in.*\nOSError: .*')
def test_closed_stdout(self):
# Issue #13444: if stdout has been explicitly closed, we should