Home
last modified time | relevance | path

Searched refs:_AssertWarnsContext (Results 1 – 2 of 2) sorted by relevance

/external/python/dateutil/dateutil/test/
D_common.py12 class _AssertWarnsContext(warnings.catch_warnings): class in WarningTestMixin
14 super(WarningTestMixin._AssertWarnsContext, self).__init__(**kwargs)
25 rv = super(WarningTestMixin._AssertWarnsContext, self).__enter__(*args, **kwargs)
42 super(WarningTestMixin._AssertWarnsContext, self).__exit__(self, *args, **kwargs)
50 context = self.__class__._AssertWarnsContext(warning, self)
/external/python/cpython3/Lib/unittest/
Dcase.py246 class _AssertWarnsContext(_AssertRaisesBaseContext): class
766 context = _AssertWarnsContext(expected_warning, self)
1294 context = _AssertWarnsContext(expected_warning, self, expected_regex)