[issue20056] Got deprecation warning when running test_shutil.py on Windows NT 6

Serhiy Storchaka report at bugs.python.org
Tue Aug 5 19:03:12 CEST 2014


Serhiy Storchaka added the comment:

with self.assertWarns(DeprecationWarning) if windows else contextlib.ExitStack():
    shutil.rmtree(victim)

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20056>
_______________________________________


More information about the Python-bugs-list mailing list