From a63b0eb4ab11af389702f6bf903ec7d74ef27751 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Tue, 19 Feb 2013 08:42:13 -0800 Subject: [PATCH] Fixed #410 -- removed a test that wasn't adding value and which broke --looponfail --- tests/objects/test_fileobject.py | 6 ------ 1 file changed, 6 deletions(-) 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('')