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.

Author vstinner
Recipients mattbillenstein, ned.deily, ronaldoussoren, serhiy.storchaka, vstinner
Date 2018-06-19.11:22:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529407346.73.0.56676864532.issue33901@psf.upfronthosting.co.za>
In-reply-to
Content
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!?
History
Date User Action Args
2018-06-19 11:22:26vstinnersetrecipients: + vstinner, ronaldoussoren, ned.deily, serhiy.storchaka, mattbillenstein
2018-06-19 11:22:26vstinnersetmessageid: <1529407346.73.0.56676864532.issue33901@psf.upfronthosting.co.za>
2018-06-19 11:22:26vstinnerlinkissue33901 messages
2018-06-19 11:22:26vstinnercreate