Skip to content

Commit 7a87872

Browse files
committed
adjust for py38--
1 parent 7b8d678 commit 7a87872

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/test_capture.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1548,7 +1548,7 @@ def test_fails():
15481548
result_with_capture.stdout.fnmatch_lines(
15491549
[
15501550
'> sys.stdout.write(b"foo")',
1551-
"> raise TypeError*",
1551+
" def write*",
15521552
"E TypeError: write() argument must be str, not bytes",
15531553
"FAILED test_typeerror_encodedfile_write.py::test_fails - *",
15541554
]

0 commit comments

Comments
 (0)