Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Revert "use correct file mode"
Browse files Browse the repository at this point in the history
This reverts commit 2143be8.
  • Loading branch information
margaret committed Dec 13, 2017
1 parent 8759ef7 commit a2b032c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def check_success(capsys, tmpdir, config_path):
launcher.test([], {})
# check that option to write test output to file works
test_log_path = str(tmpdir.join('test_logs.txt'))
with open(test_log_path, 'w+') as log_handle:
with open(test_log_path, 'wr') as log_handle:
launcher.test([], {}, output=log_handle)
logs = log_handle.read()
assert logs == 'Hooray, everything worked'
Expand Down

0 comments on commit a2b032c

Please sign in to comment.