def test_str(self): passes = inspector.IsInstance(str) eq_(str(passes), "arg.isinstance('str')")
def test_list(self): passes = inspector.IsInstance((str, int)) eq_(str(passes), "arg.isinstance(('str', 'int'))")
def test_repr(self): passes = inspector.IsInstance(int) eq_(repr(passes), "arg.isinstance('int')")