]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-33901: Fix test_dbm_gnu for gdbm 1.15 (GH-7791)
authorVictor Stinner <vstinner@redhat.com>
Tue, 19 Jun 2018 12:19:54 +0000 (14:19 +0200)
committerGitHub <noreply@github.com>
Tue, 19 Jun 2018 12:19:54 +0000 (14:19 +0200)
commit1261bfa83db30b1cf86c1fb816cc167db77874cd
treed2310a4d1323494f74a1f7a990f7382bffeeb8ed
parent22525de737679ace1488e63b7ed289bdb253ffc7
bpo-33901: Fix test_dbm_gnu for gdbm 1.15 (GH-7791)

Using gdbm 1.15, creating a database creates a file of 16 MiB. Adding
a small entry and then modifying the small entry doesn't change the
file size. Modify test_dbm_gnu to be less strict: allow that the file
size doesn't change.
Lib/test/test_dbm_gnu.py
Misc/NEWS.d/next/Tests/2018-06-19-14-04-21.bpo-33901.OFW1Sr.rst [new file with mode: 0644]