This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_shelve failures
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: aimacintyre, nijel, rhettinger
Priority: normal Keywords:

Created on 2004-12-01 15:22 by nijel, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg23470 - (view) Author: Michal Čihař (nijel) * Date: 2004-12-01 15:22
======================================================================
FAIL: test_read (__main__.TestAsciiFileShelve)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/src/packages/BUILD/Python-2.4/Lib/test/mapping_tests.py",
line 59, in test_read
    self.assert_(d.has_key(k))
AssertionError

======================================================================
FAIL: test_read (__main__.TestBinaryFileShelve)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/src/packages/BUILD/Python-2.4/Lib/test/mapping_tests.py",
line 59, in test_read
    self.assert_(d.has_key(k))
AssertionError

======================================================================
FAIL: test_read (__main__.TestProto2FileShelve)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/src/packages/BUILD/Python-2.4/Lib/test/mapping_tests.py",
line 59, in test_read
    self.assert_(d.has_key(k))
AssertionError
msg23471 - (view) Author: Michal Čihař (nijel) * Date: 2004-12-01 15:26
Logged In: YES 
user_id=192186

System information:
i386
kernel 2.6.8
glibc 2.3.3
msg23472 - (view) Author: Andrew I MacIntyre (aimacintyre) * (Python triager) Date: 2004-12-12 08:53
Logged In: YES 
user_id=250749

Test works for me on FreeBSD 4.8.

Make sure that you can use anydbm - more details on what db
module is actually invoked by anydbm might help shed some
more light on the matter (use the file utility on a database
created with anydbm.open()).
msg23473 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-12-19 21:38
Logged In: YES 
user_id=80475

Works for me on WinME and WinXP.
msg23474 - (view) Author: Michal Čihař (nijel) * Date: 2004-12-20 12:49
Logged In: YES 
user_id=192186

It was probably problem somewhere else in the system, I can
not reproduce it right now, so some upgrade has probably
fixed this issue.
History
Date User Action Args
2022-04-11 14:56:08adminsetgithub: 41266
2004-12-01 15:22:46nijelcreate