File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1550,17 +1550,15 @@ def test_fails():
1550
1550
'> sys.stdout.write(b"foo")' ,
1551
1551
"> raise TypeError*" ,
1552
1552
"E TypeError: write() argument must be str, not bytes" ,
1553
- "FAILED test_typeerror_encodedfile_write.py:3::test_fails"
1554
- " - TypeError: write() argument must be str, not bytes" ,
1553
+ "FAILED test_typeerror_encodedfile_write.py::test_fails - *" ,
1555
1554
]
1556
1555
)
1557
1556
result_without_capture = testdir .runpytest ("-s" , str (p ))
1558
1557
result_without_capture .stdout .fnmatch_lines (
1559
1558
[
1560
1559
'> sys.stdout.write(b"foo")' ,
1561
1560
"E TypeError: write() argument must be str, not bytes" ,
1562
- "FAILED test_typeerror_encodedfile_write.py:3::test_fails"
1563
- " - TypeError: write() argument must be str, not bytes" ,
1561
+ "FAILED test_typeerror_encodedfile_write.py::test_fails - *" ,
1564
1562
]
1565
1563
)
1566
1564
You can’t perform that action at this time.
0 commit comments