tests: fix tests cleanup
This commit is contained in:
parent
60443259d0
commit
4241b39b94
@ -285,7 +285,7 @@ class _QrexecPolicyContext(object):
|
|||||||
self.close()
|
self.close()
|
||||||
else:
|
else:
|
||||||
self.close()
|
self.close()
|
||||||
os.unlink(self._filename)
|
self._filename.unlink()
|
||||||
|
|
||||||
class substitute_entry_points(object):
|
class substitute_entry_points(object):
|
||||||
'''Monkey-patch pkg_resources to substitute one group in iter_entry_points
|
'''Monkey-patch pkg_resources to substitute one group in iter_entry_points
|
||||||
|
Loading…
Reference in New Issue
Block a user