Skip to content

Commit d072ceb

Browse files
authored
Merge pull request swiftlang#22205 from compnerd/eol
test: make incrParse tests pass on Win32
2 parents 9b0a94f + ff7b2fb commit d072ceb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/incrparse/test_util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ def parseLine(line, line_no, test_case, incremental_edit_args, reparse_args,
108108
def prepareForIncrParse(test_file, test_case, pre_edit_file, post_edit_file,
109109
incremental_edit_args, reparse_args):
110110
with open(test_file, mode='r') as test_file_handle, \
111-
open(pre_edit_file, mode='w+') as pre_edit_file_handle, \
112-
open(post_edit_file, mode='w+') as post_edit_file_handle:
111+
open(pre_edit_file, mode='w+b') as pre_edit_file_handle, \
112+
open(post_edit_file, mode='w+b') as post_edit_file_handle:
113113

114114
current_reparse_start = None
115115

0 commit comments

Comments
 (0)