Start converting latest develop unittests to py3

This commit is contained in:
Griatch 2019-03-04 23:20:07 +01:00
parent 90b42ca6fb
commit b3dc85a4dc
4 changed files with 21 additions and 22 deletions

View file

@ -689,7 +689,7 @@ def spawn(*prototypes, **kwargs):
"""
# search string (=prototype_key) from input
prototypes = [protlib.search_prototype(prot, require_single=True)[0]
if isinstance(prot, basestring) else prot
if isinstance(prot, str) else prot
for prot in prototypes]
# get available protparents