projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94c7ab3
)
[tests] [win] add missing import warnings
author
Paul Brossier
<piem@piem.org>
Fri, 2 Nov 2018 17:33:45 +0000
(18:33 +0100)
committer
Paul Brossier
<piem@piem.org>
Fri, 2 Nov 2018 17:33:45 +0000
(18:33 +0100)
python/tests/utils.py
patch
|
blob
|
history
diff --git
a/python/tests/utils.py
b/python/tests/utils.py
index
ee73e00
..
5b789ea
100644
(file)
--- 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))))