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:
|
||||
if PY3:
|
||||
assert(type(input_) in [str, unicode, bytes])
|
||||
else:
|
||||
assert(type(input_) in [str, bytes])
|
||||
else:
|
||||
assert(type(input_) in [str, unicode, bytes])
|
||||
except AssertionError:
|
||||
return input_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user