• Carlos Ramos Carreño's avatar
    Fixes the error in test_onErrorCallback. · a9488ad6
    Carlos Ramos Carreño authored
    The test testCMFActivity.TestCMFActivity.test_onErrorCallback was
    failing because some weak references were not dropped.
    The reason was that _DequeueMessageException was declared as global
    and it kept a traceback including the variables pointed by the weak
    references, preventing their garbage collection.
    This was fixed by using a class for the _DequeueMessageException
    instead of a singleton, and creating a new instance on every raise.
    a9488ad6
SQLBase.py 48.1 KB