Lines Matching refs:raises
83 py.test.raises(
318 py.test.raises(AttributeError, six.remove_move, "eggs")
334 py.test.raises(AttributeError, six.get_method_self, 42)
343 py.test.raises(AttributeError, six.get_method_function, hasattr)
361 py.test.raises(AttributeError, six.get_function_code, hasattr)
401 py.test.raises(StopIteration, six.advance_iterator, it)
437 py.test.raises(StopIteration, six.next, it)
438 py.test.raises(StopIteration, six.next, it)
486 py.test.raises(TypeError, u)
534 py.test.raises(Exception, six.int2byte, 256)
540 py.test.raises(IndexError, six.byte2int, six.b(""))
551 py.test.raises(StopIteration, six.next, it)
698 py.test.raises(UnicodeEncodeError, six.print_, six.u("\u053c"), file=out)
705 py.test.raises(TypeError, six.print_, x=3)
706 py.test.raises(TypeError, six.print_, end=3)
707 py.test.raises(TypeError, six.print_, sep=42)
818 py.test.raises(AttributeError, setattr, instance, "c", "baz")
827 py.test.raises(AttributeError, setattr, instance, "a", "baz")
828 py.test.raises(AttributeError, setattr, instance, "b", "baz")