From a2954578aa04744795bfb018504ee1879423c722 Mon Sep 17 00:00:00 2001 From: Thomas Hisch Date: Tue, 22 Jan 2019 20:25:51 +0100 Subject: [PATCH] Remove stdlib test --- testing/test_capture.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/testing/test_capture.py b/testing/test_capture.py index effc44cd4..81ab4e8a8 100644 --- a/testing/test_capture.py +++ b/testing/test_capture.py @@ -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