Skip to content

Commit b765eec

Browse files
atrickbnbarham
authored andcommitted
Fix refactor-check-compiles.py for python3
Fixes: sys.stdout.write(dump_text_output) TypeError: write() argument must be str, not bytes
1 parent 70cd356 commit b765eec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/refactor-check-compiles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def main():
7777
'-dump-text',
7878
'-source-filename', args.source_filename,
7979
'-pos', args.pos
80-
] + unknown_args, desc='producing edit')
80+
] + unknown_args, desc='producing edit').decode("utf-8")
8181

8282
dump_rewritten_output = run_cmd([
8383
args.swift_refactor,

0 commit comments

Comments
 (0)