]> Git Repo - qemu.git/commit
iotests.py: Add is_str()
authorMax Reitz <[email protected]>
Sun, 10 Feb 2019 14:57:32 +0000 (15:57 +0100)
committerMax Reitz <[email protected]>
Mon, 25 Feb 2019 14:11:28 +0000 (15:11 +0100)
commit011a576113000f9c90a8450ef9116cca8d6f2523
tree53e6f6c5fb742ae0418a8a20dd94c55095cea84e
parent9ac10f2e2c93e647ba6830c7083310aa04f65021
iotests.py: Add is_str()

On Python 2.x, strings are not always unicode strings.  This function
checks whether a given value is a plain string, or a unicode string (if
there is a difference).

Signed-off-by: Max Reitz <[email protected]>
Reviewed-by: John Snow <[email protected]>
Message-id: 20190210145736[email protected]
Signed-off-by: Max Reitz <[email protected]>
tests/qemu-iotests/iotests.py
This page took 0.025556 seconds and 4 git commands to generate.