Re: ctypes-python bindings test cases issue.
Daniel Shahaf <d.s_at_daniel.shahaf.name> writes:
>> > handle. Solutions include:
>> > - adding an svn_repos_close API
>> > - clearing or destroying the pool passed to svn_repos_create
>> > - having the test create repositories at different locations
>> I have implemented the last solution and attached is the patch for the
> I think Philip was just enumerating all possible solutions. I think
> making the test suite avoid the problem is the wrong solution --- it
> would be better to cause those dangling handles to get closed at the
> appropriate time (e.g., when there are no more references to the Python
> repos object).
It may be as simple as
--- ../src/subversion/bindings/ctypes-python/test/wc.py (revision 1031593)
+++ ../src/subversion/bindings/ctypes-python/test/wc.py (working copy)
@@ -72,6 +72,7 @@
+ self.repos = None
self.wc = None
I don't know how to run the ctypes tests.
Received on 2010-11-05 16:30:49 CET
This is an archived mail posted to the Subversion Dev