def foo(a): self.assertTrue(misc.issequenceof(a, int))
def bar(a): self.assertTrue(misc.issequenceof(a, str))