Home - Summaries: (main) : (py3.11) : (py3.12) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

test_dbm:test_key_with_empty_value

tmpdir = local('/tmp/pytest-of-buildslave/pytest-13/test_key_with_empty_value0')

    def test_key_with_empty_value(tmpdir):
        # this test fails on CPython too (at least on tannit), and the
        # case shows up when gdbm is not installed and test_anydbm.py
        # falls back dbm.
        path = str(tmpdir.join('test_dbm_extra.test_key_with_empty_value'))
        d = dbm.open(path, 'c')
        assert 'key_with_empty_value' not in d
        d['key_with_empty_value'] = ''
>       assert 'key_with_empty_value' in d
E       AssertionError: assert 'key_with_empty_value' in <_dbm._dbm object at 0x00007f2c923d2800>

../build/extra_tests/test_dbm.py:88: AssertionError
builder: pypy-c-jit-linux-x86-64 build #11964+
test: test_dbm:test_key_with_empty_value