- 08 Mar, 2004 1 commit
-
-
Tim Peters authored
exception), explicitly close the storage passed to it, then re-raise the exception. Otherwise the storage remains open. Turns out that accounted for why test_zeo_config left a ConnectThread daemon thread running (Zope3's test.py has been pointing that out for a loooong time).
-
- 06 Mar, 2004 1 commit
-
-
Jim Fulton authored
-
- 05 Mar, 2004 1 commit
-
-
Jim Fulton authored
isImplementedByInstancesOf to implementedBy isImplementedBy to providedBy
-
- 04 Mar, 2004 6 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Add a limited mechanism to capture warnings instead of having them printed to stderr. Tests work in my local ZODB sandbox. Need to check whether any Zope 2 or Zope 3 tests call the deprecated methods, which could affect the test results.
-
Jeremy Hylton authored
Add a few comments.
-
- 03 Mar, 2004 6 commits
-
-
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.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jim Fulton authored
-
Jim Fulton authored
by src/persistent/tests/test_persistent.
-
- 02 Mar, 2004 14 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
I've included some code to convert a text file containing doctest tests into a unittest.TestCase. This code wants to be generic, but I'm not sure if it's simple enough yet.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
This shouldn't affect any user code, because False == 0 and True == 1.
-
Jeremy Hylton authored
Remove unittest boilerplate.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Add docstrings for public cache methods.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
- 01 Mar, 2004 2 commits
-
-
Jeremy Hylton authored
If there is a jar and no oid, then the user assigned _p_jar directly. All the Connection that assigns _p_jar also assigns an oid.
-
Jeremy Hylton authored
-
- 27 Feb, 2004 9 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Fred Drake authored
-
Fred Drake authored
-
Jeremy Hylton authored
Delete importFile() and exportFile(). They always raised an exception, and there are no subclasses that provide an implementation. I suspect they were decoys from the days before export/import was implemented on the Connection. Remove UndoLogCompatible base class from DB, because it doesn't provide the undoLog() method needed to make it at all useful. Deprecate all the cache_deactivate_after methods. Replace list2dict with new dict.fromkeys() constructor. Make imports global instead of local. Add epydoc markup to DB class docstring.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
It's harder to write serious tests, because some of the critical correctness issues relate to concurrency. We'll have to depend on the various concurrent updates and NZODBThreads tests to handle these.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Import IPersistent so docstrings can refer to it. Move $Id$ tag about @group tags so epydoc doesn't complain. Don't return anything from _setDB(). The caller always has the object anyway. Rename local variable in register() from object to obj to avoid shadowing builtin name.
-