Skip to content

Commit

Permalink
Fix resource warning in zope.server.ftp tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Oct 19, 2018
1 parent e236d53 commit 519b1c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/zope/server/ftp/tests/test_publisher.py
Expand Up @@ -128,6 +128,7 @@ def bind(self, addr):
return

server = NonBinding(Request, 'name', None, 80, start=False)
self.addCleanup(server.close)
self.assertIsNotNone(server.fs_access)

class TestPublisherFileSystemAccess(unittest.TestCase):
Expand Down

0 comments on commit 519b1c9

Please sign in to comment.