Skip to content

Commit

Permalink
Fix ResourceWarning in BlobCloneTests
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Feb 28, 2013
1 parent 12f7995 commit 0c53f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZODB/tests/testblob.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def testDeepCopyCanInvalidate(self):

# it should also be possible to open the cloned blob
# (even though it won't contain the original data)
clone.open()
clone.open().close()

# tearDown
database.close()
Expand Down

0 comments on commit 0c53f08

Please sign in to comment.