STINNER Victor <vstin...@redhat.com> added the comment:

size0=16777216 (16 MiB). On my Fedora 28, size0=12288 (12 KiB).

Even more strange: another test starts by removing the filename, just in case!?

    def test_error_conditions(self):
        # Try to open a non-existent database.
        unlink(filename)
        ...

Maybe the setUp() method must fail if filename already exists?

The buildbot runs tests in subprocesses:
"Run tests in parallel using 2 child processes"

regrtest spawns child procsses which creates their own temporary empty current 
directory and TESTFN is related to the current directory. If the 
filename/database existed before test_reorganize(), it's likely a bug in 
test_dbm_gnu: but there is a single TestCase class with a tearDown() method 
which calls unlink(filename).

--

Maybe x86-64 High Sierra 3.x has a different dbm library version which always 
creates an empty database with 16 MiB preallocated on disk!?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33901>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to