diff --git a/tests/objects/test_fileobject.py b/tests/objects/test_fileobject.py index 604d47248..76c9f19fa 100644 --- a/tests/objects/test_fileobject.py +++ b/tests/objects/test_fileobject.py @@ -235,12 +235,6 @@ def test_to_io(self, space, tmpdir): """ % f) assert w_res == space.w_true - def test_reopen_stderr_in_stdout(self, space, monkeypatch): - res = [] - monkeypatch.setattr(os, "dup2", lambda old, new: res.append((old, new))) - space.execute("$stdout.reopen($stderr)") - assert res == [(2, 1)] - def test_reopen_stdout_in_closed_io(self, space, tmpdir): f = tmpdir.join("file.txt") f.write('')