From a3f26953f1fad24e92d401909664e38fe0a7cf67 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 2 Nov 2018 18:33:45 +0100 Subject: [PATCH] [tests] [win] add missing import warnings --- python/tests/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/tests/utils.py b/python/tests/utils.py index ee73e005..5b789eaa 100644 --- a/python/tests/utils.py +++ b/python/tests/utils.py @@ -36,6 +36,7 @@ def del_tmp_sink_path(path): os.unlink(path) except WindowsError as e: # removing the temporary directory sometimes fails on windows + import warnings errmsg = "failed deleting temporary file {:s} ({:s})" warnings.warn(UserWarning(errmsg.format(path, repr(e)))) -- 2.11.0