Message319956
| 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!? |
|