From 128cbdfec17729eee6a4bf0c9e470c3654f487b0 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 8 Mar 2020 02:41:27 +0100 Subject: [PATCH] adjust for py38-- --- testing/test_capture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_capture.py b/testing/test_capture.py index 53da43018da..6d010fb75a7 100644 --- a/testing/test_capture.py +++ b/testing/test_capture.py @@ -1548,7 +1548,7 @@ def test_fails(): result_with_capture.stdout.fnmatch_lines( [ '> sys.stdout.write(b"foo")', - "> raise TypeError*", + ' def write*', "E TypeError: write() argument must be str, not bytes", "FAILED test_typeerror_encodedfile_write.py::test_fails - *", ]