Skip to content

Commit

Permalink
Fixed #410 -- removed a test that wasn't adding value and which broke…
Browse files Browse the repository at this point in the history
… --looponfail
  • Loading branch information
Alex Gaynor committed Feb 19, 2013
1 parent 6aacc44 commit a63b0eb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/objects/test_fileobject.py
Expand Up @@ -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('')
Expand Down

0 comments on commit a63b0eb

Please sign in to comment.