remove more py2 relicts

some u"" (double quotes) were not found in change before

Change-Id: I85912892bbe7b57afee758c69d1aa7073557adc0
Reviewed-on: https://forge.frm2.tum.de/review/c/sine2020/secop/playground/+/21326
Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de>
Reviewed-by: Bjoern Pedersen <bjoern.pedersen@frm2.tum.de>
Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
This commit is contained in:
2019-09-26 14:54:02 +02:00
parent c0233b5d6c
commit 9fce31c4f3
4 changed files with 8 additions and 8 deletions

View File

@ -306,8 +306,8 @@ def test_BoolType():
with pytest.raises(ValueError):
dt.import_value('av')
assert dt.format_value(0) == u"False"
assert dt.format_value(True) == u"True"
assert dt.format_value(0) == "False"
assert dt.format_value(True) == "True"
def test_ArrayOf():
@ -361,7 +361,7 @@ def test_TupleOf():
assert dt.export_value([1, True]) == [1, True]
assert dt.import_value([1, True]) == [1, True]
assert dt.format_value([3,0]) == u"(3, False)"
assert dt.format_value([3,0]) == "(3, False)"
def test_StructOf():
@ -393,7 +393,7 @@ def test_StructOf():
assert dt.import_value({'an_int': 13, 'a_string': 'WFEC'}) == {
'a_string': 'WFEC', 'an_int': 13}
assert dt.format_value({'an_int':2, 'a_string':'Z'}) == u"{a_string='Z', an_int=2}"
assert dt.format_value({'an_int':2, 'a_string':'Z'}) == "{a_string='Z', an_int=2}"
def test_Command():