mirror of
https://github.com/bendtherules/pytest_gui_status.git
synced 2026-08-18 13:42:26 +00:00
Fix py3 fix
This commit is contained in:
@@ -50,9 +50,9 @@ def s(input_):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
if PY3:
|
if PY3:
|
||||||
assert(type(input_) in [str, unicode, bytes])
|
|
||||||
else:
|
|
||||||
assert(type(input_) in [str, bytes])
|
assert(type(input_) in [str, bytes])
|
||||||
|
else:
|
||||||
|
assert(type(input_) in [str, unicode, bytes])
|
||||||
except AssertionError:
|
except AssertionError:
|
||||||
return input_
|
return input_
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user