Skip to content

Commit 202f265

Browse files
Update integration_test.py
1 parent b004fad commit 202f265

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

integration_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,8 +506,8 @@ def test_define(record_property, tmpdir): # #589
506506

507507
def test_utf16_bom(tmpdir):
508508
test_file = os.path.join(tmpdir, "test.cpp")
509-
with open(test_file, 'w') as f:
510-
f.write("\xFF\xFE\x3B\x00")
509+
with open(test_file, 'wb') as f:
510+
f.write(b'\xFF\xFE\x3B\x00')
511511

512512
args = [test_file]
513513

0 commit comments

Comments
 (0)