Replaced direct type comparisons with isinstance() calls in asserts to allow for subtypes.
Replaced direct type comparisons with isinstance() calls in asserts to allow for subtypes.
kbluck/pytws,kbluck/pytws