SublimeText / UnitTesting

Testing Sublime Text Packages
MIT License
112 stars 32 forks source link

Refactor generator detection #252

Closed deathaxe closed 7 months ago

deathaxe commented 7 months ago

Use isinstance(obj, Iterable) to detect generator functions in python 3.3 environment and isinstance(obj, Generator) on python 3.8.