The opposite of assertWarns. Private due to low demand.
(self, expected_warning, *args, **kwargs)
| 852 | return context.handle('assertWarns', args, kwargs) |
| 853 | |
| 854 | def _assertNotWarns(self, expected_warning, *args, **kwargs): |
| 855 | """The opposite of assertWarns. Private due to low demand.""" |
| 856 | context = _AssertNotWarnsContext(expected_warning, self) |
| 857 | return context.handle('_assertNotWarns', args, kwargs) |
| 858 | |
| 859 | def assertLogs(self, logger=None, level=None): |
| 860 | """Fail unless a log message of level *level* or higher is emitted |