Skip to content

Commit 7039a4f

Browse files
committed
Forcing string encoding to pass unit test in TravisCI.
1 parent 9b81a98 commit 7039a4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/utility_classes/test_buttons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,5 +370,5 @@ def test_issue86_ButtonTheme_to_json():
370370
assert instance['states'] is not None
371371
assert instance['states'].hover is not None
372372

373-
result = str(instance.to_json())
373+
result = str(instance.to_json(), encoding = 'utf-8')
374374
assert result == str(kwargs).replace("'", '"')

0 commit comments

Comments
 (0)