Home
last modified time | relevance | path

Searched refs:assertWarns (Results 1 – 25 of 71) sorted by relevance

123

/external/python/cpython3/Lib/test/test_asyncio/
Dtest_queues.py38 with self.assertWarns(DeprecationWarning):
54 with self.assertWarns(DeprecationWarning):
68 with self.assertWarns(DeprecationWarning):
76 with self.assertWarns(DeprecationWarning):
80 with self.assertWarns(DeprecationWarning):
96 with self.assertWarns(DeprecationWarning):
105 with self.assertWarns(DeprecationWarning):
109 with self.assertWarns(DeprecationWarning):
115 with self.assertWarns(DeprecationWarning):
134 with self.assertWarns(DeprecationWarning):
[all …]
Dtest_locks.py31 with self.assertWarns(DeprecationWarning):
35 with self.assertWarns(DeprecationWarning):
45 with self.assertWarns(DeprecationWarning):
55 with self.assertWarns(DeprecationWarning):
73 with self.assertWarns(DeprecationWarning):
98 with self.assertWarns(DeprecationWarning):
150 with self.assertWarns(DeprecationWarning):
176 with self.assertWarns(DeprecationWarning):
213 with self.assertWarns(DeprecationWarning):
259 with self.assertWarns(DeprecationWarning):
[all …]
Dtest_tasks.py203 with self.assertWarns(DeprecationWarning):
269 with self.assertWarns(DeprecationWarning):
402 with self.assertWarns(DeprecationWarning):
485 with self.assertWarns(DeprecationWarning):
690 with self.assertWarns(DeprecationWarning):
1324 with self.assertWarns(DeprecationWarning):
1333 with self.assertWarns(DeprecationWarning):
1589 with self.assertWarns(DeprecationWarning):
1609 with self.assertWarns(DeprecationWarning):
1617 with self.assertWarns(DeprecationWarning):
[all …]
Dtest_pep492.py46 with self.assertWarns(DeprecationWarning):
69 with self.assertWarns(DeprecationWarning):
133 with self.assertWarns(DeprecationWarning):
Dtest_streams.py51 with self.assertWarns(DeprecationWarning):
80 with self.assertWarns(DeprecationWarning):
117 with self.assertWarns(DeprecationWarning):
626 with self.assertWarns(DeprecationWarning):
642 with self.assertWarns(DeprecationWarning):
650 with self.assertWarns(DeprecationWarning):
698 with self.assertWarns(DeprecationWarning):
715 with self.assertWarns(DeprecationWarning):
725 with self.assertWarns(DeprecationWarning):
814 with self.assertWarns(DeprecationWarning):
[all …]
Dtest_server.py48 with self.assertWarns(DeprecationWarning):
105 with self.assertWarns(DeprecationWarning):
Dtest_events.py1739 with self.assertWarns(DeprecationWarning):
1761 with self.assertWarns(DeprecationWarning):
1783 with self.assertWarns(DeprecationWarning):
1804 with self.assertWarns(DeprecationWarning):
1815 with self.assertWarns(DeprecationWarning):
1832 with self.assertWarns(DeprecationWarning):
1849 with self.assertWarns(DeprecationWarning):
1872 with self.assertWarns(DeprecationWarning):
1891 with self.assertWarns(DeprecationWarning):
1913 with self.assertWarns(DeprecationWarning):
[all …]
/external/python/cpython3/Lib/test/
Dtest_getargs2.py161 with self.assertWarns(DeprecationWarning):
164 with self.assertWarns(DeprecationWarning):
168 with self.assertWarns(DeprecationWarning):
187 with self.assertWarns(DeprecationWarning):
190 with self.assertWarns(DeprecationWarning):
194 with self.assertWarns(DeprecationWarning):
213 with self.assertWarns(DeprecationWarning):
216 with self.assertWarns(DeprecationWarning):
220 with self.assertWarns(DeprecationWarning):
240 with self.assertWarns(DeprecationWarning):
[all …]
Dtest_grp.py103 self.assertWarns(DeprecationWarning, grp.getgrgid, float(gid))
104 self.assertWarns(DeprecationWarning, grp.getgrgid, str(gid))
Dtest_int.py491 with self.assertWarns(DeprecationWarning):
502 with self.assertWarns(DeprecationWarning):
508 with self.assertWarns(DeprecationWarning):
514 with self.assertWarns(DeprecationWarning):
520 with self.assertWarns(DeprecationWarning):
Dtest_urlparse.py1184 with self.assertWarns(DeprecationWarning) as cm:
1191 with self.assertWarns(DeprecationWarning) as cm:
1198 with self.assertWarns(DeprecationWarning) as cm:
1205 with self.assertWarns(DeprecationWarning) as cm:
1212 with self.assertWarns(DeprecationWarning) as cm:
1219 with self.assertWarns(DeprecationWarning) as cm:
1226 with self.assertWarns(DeprecationWarning) as cm:
1233 with self.assertWarns(DeprecationWarning) as cm:
1240 with self.assertWarns(DeprecationWarning) as cm:
1247 with self.assertWarns(DeprecationWarning) as cm:
[all …]
Dtest_re.py949 with self.assertWarns(FutureWarning):
953 with self.assertWarns(FutureWarning):
956 with self.assertWarns(FutureWarning):
960 with self.assertWarns(FutureWarning):
963 with self.assertWarns(FutureWarning):
968 with self.assertWarns(FutureWarning):
971 with self.assertWarns(FutureWarning):
976 with self.assertWarns(FutureWarning):
979 with self.assertWarns(FutureWarning):
984 with self.assertWarns(FutureWarning):
[all …]
Dtest_binascii.py427 with self.assertWarns(DeprecationWarning):
429 with self.assertWarns(DeprecationWarning):
432 with self.assertWarns(DeprecationWarning):
435 with self.assertWarns(DeprecationWarning):
Dtest_string_literals.py113 with self.assertWarns(DeprecationWarning):
163 with self.assertWarns(DeprecationWarning):
Dtest_symtable.py214 with self.assertWarns(DeprecationWarning), \
217 with self.assertWarns(DeprecationWarning):
Dtest_aifc.py310 with self.assertWarns(UserWarning) as cm:
322 with self.assertWarns(UserWarning) as cm:
333 with self.assertWarns(UserWarning) as cm:
Dtest_mailcap.py91 with self.assertWarns(DeprecationWarning):
Dtest_gettext.py492 with self.assertWarns(DeprecationWarning):
494 with self.assertWarns(DeprecationWarning):
496 with self.assertWarns(DeprecationWarning):
816 with self.assertWarns(DeprecationWarning):
Dtest_getpass.py155 with self.assertWarns(getpass.GetPassWarning):
Dtest_urllibnet.py103 with self.assertWarns(DeprecationWarning):
/external/python/cpython3/Lib/unittest/test/
Dtest_case.py1401 self.assertWarns(RuntimeWarning, _runtime_warn)
1402 self.assertWarns(RuntimeWarning, _runtime_warn)
1404 self.assertWarns((DeprecationWarning, RuntimeWarning), _runtime_warn)
1406 self.assertWarns(RuntimeWarning,
1410 self.assertWarns(RuntimeWarning, lambda: 0)
1413 self.assertWarns(RuntimeWarning, None)
1419 self.assertWarns(DeprecationWarning, _runtime_warn)
1424 self.assertWarns(DeprecationWarning, _runtime_warn)
1432 with self.assertWarns(RuntimeWarning) as cm:
1435 with self.assertWarns((DeprecationWarning, RuntimeWarning)) as cm:
[all …]
/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest___package__.py60 with self.assertWarns(ImportWarning):
78 with self.assertWarns(ImportWarning):
/external/python/dateutil/dateutil/test/
Dtest_relativedelta.py374 with self.assertWarns(DeprecationWarning):
377 with self.assertWarns(DeprecationWarning):
380 with self.assertWarns(DeprecationWarning):
383 with self.assertWarns(DeprecationWarning):
386 with self.assertWarns(DeprecationWarning):
389 with self.assertWarns(DeprecationWarning):
392 with self.assertWarns(DeprecationWarning):
D_common.py48 def assertWarns(self, warning, callable=None, *args, **kwargs): member in WarningTestMixin
/external/python/cpython3/Lib/test/test_importlib/
Dtest_abc.py160 with self.assertWarns(DeprecationWarning):
185 with self.assertWarns(DeprecationWarning):
364 with self.assertWarns(DeprecationWarning):
413 with self.assertWarns(DeprecationWarning):
423 with self.assertWarns(DeprecationWarning):
432 with self.assertWarns(DeprecationWarning):

123