Skip to content

Commit

Permalink
fix 'str' does not support the buffer interface
Browse files Browse the repository at this point in the history
  • Loading branch information
kvch committed Dec 4, 2019
1 parent 21dd3d3 commit 89012b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/functionbeat/tests/system/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def _generate_dummy_binary_for_template_checksum(self):
for fb in bins_to_gen:
if os.path.exists(fb):
continue
with open(fb, "wb") as f:
with open(fb, "w") as f:
f.write("my dummy functionbeat binary\n")

def _get_generated_function_template(self):
Expand Down

0 comments on commit 89012b4

Please sign in to comment.