Skip to content

Commit

Permalink
close lock in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jimfulton committed Apr 21, 2018
1 parent 710c687 commit af544e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/zc/lockfile/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ def test_log_formatting(self):
with open('f.lock') as f:
self.assertEqual(' 123/myhostname\n', f.read())

lock.close()

def test_unlock_and_lock_while_multiprocessing_process_running(self):
import multiprocessing

Expand Down

0 comments on commit af544e2

Please sign in to comment.