• Tim Peters's avatar
    test_cache(): Muck with Python's warnings module. · 43ebe4b6
    Tim Peters authored
    The test didn't work if run more than once (e.g., via Zope3's
     test.py's "-N <n>" argument, or via ZODB's test.py's "-L"
    argument), because the warnings module suppresses warnings
    after the first a single line.  Made the warnings module
    report repeats of DeprecationWarnings for the duration of
    the test.
    43ebe4b6
warnhook.py 2.07 KB