[New-bugs-announce] [issue31026] test_bisect fails when run directly
Serhiy Storchaka
report at bugs.python.org
Tue Jul 25 08:10:17 EDT 2017
New submission from Serhiy Storchaka:
$ ./python Lib/test/test_dbm.py
..BDB0004 fop_read_meta: @test_29975_tmp_ndbm.db: unexpected file type or format
..EBDB3028 @test_29975_tmp.db: unable to flush: No such file or directory
..EBDB3028 @test_29975_tmp.db: unable to flush: No such file or directory
.E.........
======================================================================
ERROR: test_anydbm_creation (__main__.TestCase-dbm.ndbm)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_dbm.py", line 73, in test_anydbm_creation
self.read_helper(f)
File "Lib/test/test_dbm.py", line 114, in read_helper
self.assertEqual(self._dict[key], f[key.encode("ascii")])
KeyError: b'0'
======================================================================
ERROR: test_anydbm_modification (__main__.TestCase-dbm.ndbm)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_dbm.py", line 88, in test_anydbm_modification
self.read_helper(f)
File "Lib/test/test_dbm.py", line 114, in read_helper
self.assertEqual(self._dict[key], f[key.encode("ascii")])
KeyError: b'0'
======================================================================
ERROR: test_anydbm_read (__main__.TestCase-dbm.ndbm)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_dbm.py", line 94, in test_anydbm_read
self.read_helper(f)
File "Lib/test/test_dbm.py", line 114, in read_helper
self.assertEqual(self._dict[key], f[key.encode("ascii")])
KeyError: b'0'
----------------------------------------------------------------------
Ran 19 tests in 0.683s
FAILED (errors=3)
----------
components: Tests
messages: 299055
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: test_bisect fails when run directly
type: behavior
versions: Python 3.6, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31026>
_______________________________________
More information about the New-bugs-announce
mailing list