Brett C. wrote: > No success for me when it is using dumbdbm: > > ====================================================================== > ERROR: test_anydbm_create (__main__.Bsddb185Tests) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "Lib/test/test_bsddb185.py", line 39, in test_anydbm_create > os.rmdir(tmpdir) > OSError: [Errno 66] Directory not empty: '/tmp/tmpkiVKcZ' > > ---------------------------------------------------------------------- > > Looks like foo.dat and foo.dir are left (files used by the DB?). I will > fix the test again to be more agressive about deleting files. > > ... done. Just used shutil.rmtree instead of the nested 'try' > statements that called os.unlink and os.rmdir . Now the tests pass for > dumbdbm. So it seems to be dbm.so for some reason. > But then Skip checked in the exact change I was going to I think almost simultaneously. And guess what? Now the darned tests pass using dbm! I am going to do a completely clean compile and test again to make sure this is not a fluke since the only change was ``cvs update`` for test_bsddb185.py and that only changed how files were deleted. Ah, the joys of coding. -Brett
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4