History

[tests] [win] add missing import warnings

Paul Brossier committed 8 years ago

Commit a3f26951 parent 94c7ab31 file · +1 −0Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/tests/utils.py+1−0
@@ -36,6 +36,7 @@ def del_tmp_sink_path(path): · 35 unmodified lines
3636 os.unlink(path)
3737 except WindowsError as e:
3838 # removing the temporary directory sometimes fails on windows
39+ import warnings
3940 errmsg = "failed deleting temporary file {:s} ({:s})"
4041 warnings.warn(UserWarning(errmsg.format(path, repr(e))))
4142

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t