Skip to content
Snippets Groups Projects
Commit a4447da5 authored by Feanil Patel's avatar Feanil Patel
Browse files

Explicitly set the test string to unicode.

parent 2d215ccc
No related branches found
Tags release-2021-04-26-14.10
No related merge requests found
......@@ -31,7 +31,7 @@ class StudioValidationMessageTest(unittest.TestCase):
StudioValidationMessage(StudioValidationMessage.WARNING, u"bad warning", action_runtime_event=0)
with pytest.raises(TypeError):
StudioValidationMessage(StudioValidationMessage.WARNING, u"bad warning", action_label="Non-unicode string")
StudioValidationMessage(StudioValidationMessage.WARNING, u"bad warning", action_label=b"Non-unicode string")
def test_to_json(self):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment