Lines Matching full:isinstance
46 assert isinstance(1, six.integer_types)
47 assert isinstance(-1, six.integer_types)
48 assert isinstance(six.MAXSIZE + 23, six.integer_types)
49 assert not isinstance(.1, six.integer_types)
53 assert isinstance("hi", six.string_types)
54 assert isinstance(six.u("hi"), six.string_types)
63 assert isinstance(X, six.class_types)
64 assert isinstance(Y, six.class_types)
65 assert not isinstance(X(), six.class_types)
121 if isinstance(item, types.ModuleType):
212 assert isinstance(Queue, six.class_types)
214 assert isinstance(ConfigParser, six.class_types)
359 assert isinstance(six.get_function_code(f), types.CodeType)
399 assert not isinstance(it, list)
475 assert isinstance(b, types.MethodType)
488 assert isinstance(u, types.MethodType)
497 assert isinstance(data, bytes)
504 assert isinstance(s, str)
511 assert isinstance(data, str)
518 assert isinstance(s, unicode)
622 assert isinstance(value2, Exception)
667 assert isinstance(result, six.text_type)