zopefoundation / ZODB

Python object-oriented database
https://zodb-docs.readthedocs.io/
Other
681 stars 92 forks source link

Remove unused ZODB.tests.warnhook #382

Closed navytux closed 1 year ago

navytux commented 1 year ago

The last usage of WarningsHook was removed in 2011 in f1b04dd8 (Lots of code cleanups.). And when we need to capture warnings there is warnings.catch_warnings that is available out of the box from stdlib on both py2 and py3.

navytux commented 1 year ago

Thanks, Dieter.