240
241
symbol_versioning.suppress_deprecation_warnings()
241
242
self.assertFirstWarning('ignore', DeprecationWarning)
248
244
def test_suppress_deprecation_with_warning_filter(self):
249
245
"""don't suppress if we already have a filter"""
250
246
warnings.filterwarnings('error', category=Warning)