New submission from Martin Panter:
This patch is to avoid the warning introduced with the changes in Issue 15745,
originally described at https://bugs.python.org/issue15745#msg245455. The
code has a “with” statement to hide the warning from os.stat_float_times(), but
the warning triggers
Roundup Robot added the comment:
New changeset bc67e0030d42 by Victor Stinner in branch '3.4':
Issue #24675: Avoid DeprecationWarning in test_os
https://hg.python.org/cpython/rev/bc67e0030d42
--
nosy: +python-dev
___
Python tracker
STINNER Victor added the comment:
Thanks Martin. I applied your patch, but I replaced tearDown() with a cleanup
function.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24675