Merge pull request #4664 from thisch/stdlibtest

Remove stdlib test
This commit is contained in:
Anthony Sottile 2019-01-22 11:28:51 -08:00 committed by GitHub
commit ba452dbcf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 9 deletions

View File

@ -852,15 +852,6 @@ class TestCaptureIO(object):
assert f.getvalue() == "foo\r\n"
def test_bytes_io():
f = io.BytesIO()
f.write(b"hello")
with pytest.raises(TypeError):
f.write(u"hello")
s = f.getvalue()
assert s == b"hello"
def test_dontreadfrominput():
from _pytest.capture import DontReadFromInput