tests: fix tests cleanup

This commit is contained in:
Marek Marczykowski-Górecki 2017-06-20 17:21:35 +02:00
parent 60443259d0
commit 4241b39b94
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -285,7 +285,7 @@ class _QrexecPolicyContext(object):
self.close()
else:
self.close()
os.unlink(self._filename)
self._filename.unlink()
class substitute_entry_points(object):
'''Monkey-patch pkg_resources to substitute one group in iter_entry_points