Searched refs:assertWarns (Results 1 – 25 of 65) sorted by relevance
123
/third_party/python/Lib/test/ |
D | test_getargs2.py | 163 with self.assertWarns(DeprecationWarning): 187 with self.assertWarns(DeprecationWarning): 211 with self.assertWarns(DeprecationWarning): 236 with self.assertWarns(DeprecationWarning): 287 with self.assertWarns(DeprecationWarning): 311 with self.assertWarns(DeprecationWarning): 335 with self.assertWarns(DeprecationWarning): 360 with self.assertWarns(DeprecationWarning): 388 with self.assertWarns(DeprecationWarning): 443 with self.assertWarns(DeprecationWarning): [all …]
|
D | test_random.py | 51 with self.assertWarns(DeprecationWarning): 55 with self.assertWarns(DeprecationWarning): 113 with self.assertWarns(DeprecationWarning): 167 with self.assertWarns(DeprecationWarning): 517 self.assertWarns(DeprecationWarning, raises, 3.14159) 518 self.assertWarns(DeprecationWarning, self.gen.randrange, 3.0) 519 self.assertWarns(DeprecationWarning, self.gen.randrange, Fraction(3, 1)) 520 self.assertWarns(DeprecationWarning, raises, '3') 521 self.assertWarns(DeprecationWarning, raises, 0, 2.71828) 522 self.assertWarns(DeprecationWarning, self.gen.randrange, 0, 2.0) [all …]
|
D | test_urlparse.py | 1267 with self.assertWarns(DeprecationWarning) as cm: 1274 with self.assertWarns(DeprecationWarning) as cm: 1281 with self.assertWarns(DeprecationWarning) as cm: 1288 with self.assertWarns(DeprecationWarning) as cm: 1295 with self.assertWarns(DeprecationWarning) as cm: 1302 with self.assertWarns(DeprecationWarning) as cm: 1309 with self.assertWarns(DeprecationWarning) as cm: 1316 with self.assertWarns(DeprecationWarning) as cm: 1323 with self.assertWarns(DeprecationWarning) as cm: 1330 with self.assertWarns(DeprecationWarning) as cm: [all …]
|
D | test_re.py | 950 with self.assertWarns(FutureWarning): 954 with self.assertWarns(FutureWarning): 957 with self.assertWarns(FutureWarning): 961 with self.assertWarns(FutureWarning): 964 with self.assertWarns(FutureWarning): 969 with self.assertWarns(FutureWarning): 972 with self.assertWarns(FutureWarning): 977 with self.assertWarns(FutureWarning): 980 with self.assertWarns(FutureWarning): 985 with self.assertWarns(FutureWarning): [all …]
|
D | test_int.py | 491 with self.assertWarns(DeprecationWarning): 502 with self.assertWarns(DeprecationWarning): 508 with self.assertWarns(DeprecationWarning): 514 with self.assertWarns(DeprecationWarning):
|
D | test_binascii.py | 428 with self.assertWarns(DeprecationWarning): 430 with self.assertWarns(DeprecationWarning): 433 with self.assertWarns(DeprecationWarning): 436 with self.assertWarns(DeprecationWarning):
|
D | test_aifc.py | 312 with self.assertWarns(UserWarning) as cm: 324 with self.assertWarns(UserWarning) as cm: 335 with self.assertWarns(UserWarning) as cm:
|
D | test_string_literals.py | 112 with self.assertWarns(DeprecationWarning): 162 with self.assertWarns(DeprecationWarning):
|
D | test_symtable.py | 221 with self.assertWarns(DeprecationWarning), \ 224 with self.assertWarns(DeprecationWarning):
|
D | test_gettext.py | 493 with self.assertWarns(DeprecationWarning): 495 with self.assertWarns(DeprecationWarning): 497 with self.assertWarns(DeprecationWarning): 817 with self.assertWarns(DeprecationWarning):
|
D | test_mailcap.py | 93 with self.assertWarns(DeprecationWarning):
|
D | test_getpass.py | 155 with self.assertWarns(getpass.GetPassWarning):
|
D | test_codecs.py | 1186 with self.assertWarns(DeprecationWarning): 1188 with self.assertWarns(DeprecationWarning): 1190 with self.assertWarns(DeprecationWarning): 1192 with self.assertWarns(DeprecationWarning): 1194 with self.assertWarns(DeprecationWarning): 2413 with self.assertWarns(DeprecationWarning): 2416 with self.assertWarns(DeprecationWarning): 2418 with self.assertWarns(DeprecationWarning): 2420 with self.assertWarns(DeprecationWarning): 2422 with self.assertWarns(DeprecationWarning):
|
D | test_enum.py | 359 with self.assertWarns(DeprecationWarning): 362 with self.assertWarns(DeprecationWarning): 2146 with self.assertWarns(DeprecationWarning): 2151 with self.assertWarns(DeprecationWarning): 2457 with self.assertWarns(DeprecationWarning): 2460 with self.assertWarns(DeprecationWarning): 2463 with self.assertWarns(DeprecationWarning): 2466 with self.assertWarns(DeprecationWarning): 2975 with self.assertWarns(DeprecationWarning): 2978 with self.assertWarns(DeprecationWarning): [all …]
|
D | test_urllibnet.py | 104 with self.assertWarns(DeprecationWarning):
|
D | test_float.py | 206 with self.assertWarns(DeprecationWarning): 220 with self.assertWarns(DeprecationWarning): 222 with self.assertWarns(DeprecationWarning): 224 with self.assertWarns(DeprecationWarning): 226 with self.assertWarns(DeprecationWarning):
|
/third_party/python/Lib/unittest/test/ |
D | test_case.py | 711 with self.assertWarns(DeprecationWarning) as warninfo: 1369 self.assertWarns(UserWarning, warnings.warn, 'expected') 1422 self.assertWarns(RuntimeWarning, _runtime_warn) 1423 self.assertWarns(RuntimeWarning, _runtime_warn) 1425 self.assertWarns((DeprecationWarning, RuntimeWarning), _runtime_warn) 1427 self.assertWarns(RuntimeWarning, 1431 self.assertWarns(RuntimeWarning, lambda: 0) 1434 self.assertWarns(RuntimeWarning, None) 1440 self.assertWarns(DeprecationWarning, _runtime_warn) 1445 self.assertWarns(DeprecationWarning, _runtime_warn) [all …]
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_tasks.py | 213 with self.assertWarns(DeprecationWarning) as cm: 229 with self.assertWarns(DeprecationWarning) as cm: 238 with self.assertWarns(DeprecationWarning): 250 with self.assertWarns(DeprecationWarning) as cm: 266 with self.assertWarns(DeprecationWarning) as cm: 323 with self.assertWarns(DeprecationWarning): 456 with self.assertWarns(DeprecationWarning): 539 with self.assertWarns(DeprecationWarning): 744 with self.assertWarns(DeprecationWarning): 1303 with self.assertWarns(DeprecationWarning): [all …]
|
D | test_futures.py | 143 with self.assertWarns(DeprecationWarning) as cm: 159 with self.assertWarns(DeprecationWarning) as cm: 497 with self.assertWarns(DeprecationWarning) as cm: 522 with self.assertWarns(DeprecationWarning) as cm:
|
D | test_pep492.py | 131 with self.assertWarns(DeprecationWarning):
|
D | test_streams.py | 750 with self.assertWarns(DeprecationWarning) as cm: 770 with self.assertWarns(DeprecationWarning) as cm: 778 with self.assertWarns(DeprecationWarning) as cm: 799 with self.assertWarns(DeprecationWarning) as cm:
|
D | test_events.py | 2187 with self.assertWarns(DeprecationWarning): 2726 with self.assertWarns(DeprecationWarning) as cm: 2731 with self.assertWarns(DeprecationWarning) as cm: 2748 with self.assertWarns(DeprecationWarning) as cm: 2754 with self.assertWarns(DeprecationWarning) as cm: 2776 with self.assertWarns(DeprecationWarning) as cm: 2781 with self.assertWarns(DeprecationWarning) as cm: 2798 with self.assertWarns(DeprecationWarning) as cm: 2803 with self.assertWarns(DeprecationWarning) as cm:
|
/third_party/python/Lib/test/test_importlib/import_/ |
D | test___package__.py | 60 with self.assertWarns(ImportWarning): 78 with self.assertWarns(ImportWarning):
|
/third_party/python/Lib/test/test_importlib/ |
D | test_abc.py | 161 with self.assertWarns(DeprecationWarning): 186 with self.assertWarns(DeprecationWarning): 369 with self.assertWarns(DeprecationWarning): 418 with self.assertWarns(DeprecationWarning): 428 with self.assertWarns(DeprecationWarning): 437 with self.assertWarns(DeprecationWarning):
|
/third_party/python/Lib/distutils/tests/ |
D | test_sysconfig.py | 233 self.assertWarns(DeprecationWarning,
|
123