]> granicus.if.org Git - python/commit
bpo-33752: Fix a file leak in test_dbm. (GH-7376)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 5 Jun 2018 13:03:00 +0000 (16:03 +0300)
committerGitHub <noreply@github.com>
Tue, 5 Jun 2018 13:03:00 +0000 (16:03 +0300)
commit6592d7fe11477f8f974d2d4a85c3382a1ad05217
tree605cee9bddf55e30ebf29cef507c060dab35bf95
parent415bc46a78e785f357c8960ae70f18a6b6cccbb6
bpo-33752: Fix a file leak in test_dbm. (GH-7376)

With addCleanup() f.close() was executed after tearDown().
Lib/test/test_dbm.py