/third_party/mesa3d/.gitlab-ci/tests/ |
H A D | test_lava_job_submitter.py | 52 with pytest.raises(MesaCIException): 74 pytest.raises(MesaCIRetryError), 83 pytest.raises(MesaCIRetryError), 112 pytest.raises(MesaCIRetryError), 118 pytest.raises(MesaCIRetryError), 164 pytest.raises(MesaCIRetryError), 178 pytest.raises(SystemExit), 182 "XMLRPC Fault": ([XMLRPC_FAULT], pytest.raises(SystemExit, match="1"), False, {}), 239 pytest.raises((MesaCIRetryError)), 352 with pytest.raises(MesaCIRetryErro [all...] |
/third_party/python/Lib/test/ |
H A D | test_string.py | 276 raises = self.assertRaises 278 raises(ValueError, s.substitute, dict(who='tim')) 280 raises(ValueError, s.substitute, dict(who='tim')) 282 raises(ValueError, s.substitute, dict(who='tim')) 286 raises(ValueError, s.substitute, dict(who='tim')) 288 raises(ValueError, s.substitute, dict(who='tim')) 439 raises = self.assertRaises 452 raises(TypeError, s.substitute, d, {}) 453 raises(TypeError, s.safe_substitute, d, {}) 460 raises [all...] |
H A D | test_gettext.py | 435 raises = self.assertRaises 437 raises(ValueError, gettext.c2py, "os.chmod('/etc/passwd',0777)") 439 raises(ValueError, gettext.c2py, '"(eval(foo) && ""') 440 raises(ValueError, gettext.c2py, 'f"{os.system(\'sh\')}"') 442 raises(ValueError, gettext.c2py, 'n+'*10000 + 'n') 445 raises(ValueError, gettext.c2py, '('*100 + 'n' + ')'*100) 447 raises(ValueError, gettext.c2py, '('*10000 + 'n' + ')'*10000)
|
H A D | test_picklebuffer.py | 60 with self.assertRaises(ValueError) as raises: 63 str(raises.exception)) 148 with self.assertRaises(ValueError) as raises:
|
H A D | test_random.py | 69 # os.urandom() so that it raises the exception expected when the 503 raises = partial(self.assertRaises, ValueError, self.gen.randrange) 505 raises(3, 3) 506 raises(-721) 507 raises(0, 100, -12) 509 self.assertWarns(DeprecationWarning, raises, 3.14159) 512 self.assertWarns(DeprecationWarning, raises, '3') 513 self.assertWarns(DeprecationWarning, raises, 0, 2.71828) 516 self.assertWarns(DeprecationWarning, raises, 0, '2') 518 raises( [all...] |
H A D | test_unparse.py | 178 def check_invalid(self, node, raises=ValueError): 180 self.assertRaises(raises, ast.unparse, node)
|
H A D | test_argparse.py | 2684 raises = self.assertRaises 2685 raises(TypeError, parser.add_mutually_exclusive_group, title='foo') 2691 raises = self.assertRaises 2692 raises(ValueError, add_argument, '--foo', required=True) 2693 raises(ValueError, add_argument, 'bar') 2694 raises(ValueError, add_argument, 'bar', nargs='+') 2695 raises(ValueError, add_argument, 'bar', nargs=1) 2696 raises(ValueError, add_argument, 'bar', nargs=argparse.PARSER)
|
H A D | test_sys_settrace.py | 163 def raises(): function 168 raises() 1694 """A trace function that raises an exception in response to a 1702 """The function to trace; raises an exception if that's the case
|
H A D | test_descr.py | 988 def raises(exc, expected, callable, *args): function 1005 raises(TypeError, "duplicate base class A", 1007 raises(TypeError, mro_err_msg, 1009 raises(TypeError, mro_err_msg, 1017 raises(TypeError, mro_err_msg, 1889 # In CPython, the class creation above already raises
|
/third_party/mesa3d/.gitlab-ci/tests/utils/ |
H A D | test_lava_log.py | 250 "1 second after timeout": ({"seconds": 1}, pytest.raises(MesaCITimeoutError)), 312 pytest.raises(MesaCIKnownIssueException),
|
/third_party/libfuse/test/ |
H A D | test_examples.py | 101 with pytest.raises(IOError) as exc_info: 104 with pytest.raises(IOError) as exc_info: 369 with pytest.raises(FileNotFoundError): 400 with pytest.raises(PermissionError): 527 with pytest.raises(OSError) as exc_info: 552 with pytest.raises(OSError) as exc_info: 570 with pytest.raises(OSError) as exc_info: 655 with pytest.raises(OSError) as exc_info: 692 with pytest.raises(FileNotFoundError):
|
/third_party/libabigail/tools/ |
H A D | fedabipkgdiff | 307 :raises AttributeError: if name is not one of keys of RPM information. 727 :raises RpmNotFound: if a RPM cannot be found with rpminfo. 761 :raises TypeError: if selector is not callable, or if order_by is not a 847 :raises KojiPackageNotFound: if name is not found from Koji if arch 882 :raises NoCompleteBuilds: if there is no latest build of a package.
|
/third_party/mesa3d/bin/pick/ |
H A D | core_test.py | 469 with pytest.raises(core.PickUIException):
|
/third_party/python/Lib/test/test_email/ |
H A D | test_email.py | 1821 raises = self.assertRaises 1827 raises(IndexError, m.get_payload, 2) 5010 ## raises = self.assertRaises 5011 ## raises(UnicodeError, Header, u'[P\xf6stal]', 'us-ascii') 5012 ## raises(UnicodeError, Header, '[P\xf6stal]', 'us-ascii') 5014 ## raises(UnicodeError, h.append, u'[P\xf6stal]', 'us-ascii') 5015 ## raises(UnicodeError, h.append, '[P\xf6stal]', 'us-ascii') 5016 ## raises(UnicodeError, Header, u'\u83ca\u5730\u6642\u592b', 'iso-8859-1') 5026 raises = self.assertRaises 5029 raises(UnicodeErro [all...] |