From 4241b39b94ef887a71a07f82b91403a4842c066a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 20 Jun 2017 17:21:35 +0200 Subject: [PATCH] tests: fix tests cleanup --- qubes/tests/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes/tests/__init__.py b/qubes/tests/__init__.py index afe25c7a..94c6fc7e 100644 --- a/qubes/tests/__init__.py +++ b/qubes/tests/__init__.py @@ -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