Home
last modified time | relevance | path

Searched refs:assert_raises (Results 1 – 10 of 10) sorted by relevance

/external/python/httplib2/tests/
Dtest_encoding.py55 with tests.assert_raises(httplib2.FailedToDecompressContent):
89 with tests.assert_raises(httplib2.FailedToDecompressContent):
Dtest_other.py20 with tests.assert_raises(TypeError):
220 with tests.assert_raises(socket.gaierror):
254 with tests.assert_raises(socket.timeout):
Dtest_proxy.py115 with tests.assert_raises(httplib2.ServerNotFoundError):
174 with tests.assert_raises(httplib2.socks.Socks5AuthError):
Dtest_https.py56 with tests.assert_raises(IOError):
Dtest_auth.py269 with tests.assert_raises(httplib2.MalformedHeader):
Dtest_http.py47 with tests.assert_raises(httplib2.ServerNotFoundError):
69 with tests.assert_raises(socket.error):
D__init__.py40 def assert_raises(exc_type): function
/external/tensorflow/tensorflow/python/autograph/g3doc/reference/
D_control_flow_tutorial.ipynb51 "def assert_raises(error_class):\n",
288 "with assert_raises(ValueError):\n",
359 "with assert_raises(TypeError):\n",
568 "with assert_raises(TypeError):\n",
612 "with assert_raises(TypeError):\n",
725 "with assert_raises(ValueError):\n",
790 "with assert_raises(TypeError):\n",
821 "with assert_raises(ValueError):\n",
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_unix_events.py1907 def assert_raises(): function
1912 with assert_raises():
1914 with assert_raises():
1917 with assert_raises():
1919 with assert_raises():
1923 def assert_raises(): function
1935 with assert_raises():
1937 with assert_raises():
1940 with assert_raises():
1942 with assert_raises():
[all …]
/external/protobuf/ruby/tests/
Dtype_errors.rb171 err = assert_raises type do