• Jeremy Hylton's avatar
    Restructure relationship between persistent.txt and test_persistent.py. · 59c6cf2e
    Jeremy Hylton authored
    Move some of the test framework code from .py to .txt, and add a more
    detailed comment at the top about the contract between .txt and the
    .py file that uses it.
    
    Move the interface test into .txt.  I guess it's not so bad.
    
    Change some tests that displayed the contents of __dict__.  Other
    persistent implementations may have extra state in __dict__.
    
    Remove B, it is unused.
    
    Change DocFileSuite() to accept an explicit set of globals.
    
    Remove the pickling/P2 test, because it was too hard to make work with
    the framework.  Include comment explaining how such a test should be
    added.
    59c6cf2e
test_persistent.py 1.63 KB