Skip to content

Commit

Permalink
Merge pull request numpy#3167 from certik/forwardport3165
Browse files Browse the repository at this point in the history
TST: open the TemporaryFile in ASCII mode
  • Loading branch information
certik committed Mar 25, 2013
2 parents c96c69b + df813e5 commit 1a816c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/distutils/tests/test_exec_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def test_exec_command_stdout():

def test_exec_command_stderr():
# Test posix version:
with redirect_stdout(TemporaryFile()):
with redirect_stdout(TemporaryFile(mode='w+')):
with redirect_stderr(StringIO.StringIO()):
exec_command.exec_command("cd '.'")

Expand Down

0 comments on commit 1a816c7

Please sign in to comment.